diff options
Diffstat (limited to 'dev-util/cmake')
-rw-r--r-- | dev-util/cmake/Manifest | 10 | ||||
-rw-r--r-- | dev-util/cmake/cmake-3.13.5.ebuild | 2 | ||||
-rw-r--r-- | dev-util/cmake/cmake-3.14.6.ebuild | 2 | ||||
-rw-r--r-- | dev-util/cmake/cmake-3.17.0_rc1.ebuild (renamed from dev-util/cmake/cmake-3.16.3.ebuild) | 4 | ||||
-rw-r--r-- | dev-util/cmake/files/cmake-3.17.0_rc1-FindBLAS.patch | 37 | ||||
-rw-r--r-- | dev-util/cmake/files/cmake-3.17.0_rc1-FindLAPACK.patch | 56 |
6 files changed, 103 insertions, 8 deletions
diff --git a/dev-util/cmake/Manifest b/dev-util/cmake/Manifest index 6b92b0185060..c309ba616ba1 100644 --- a/dev-util/cmake/Manifest +++ b/dev-util/cmake/Manifest @@ -10,16 +10,18 @@ AUX cmake-3.14.0_rc1-FindLAPACK.patch 1798 BLAKE2B f372fd920abaf85ab3106385d45e1 AUX cmake-3.14.0_rc3-prefix-dirs.patch 4688 BLAKE2B ec197f40246ff9b47f6515cec92f0ef497de2e96756cd7c12ea3fe7c71d5e2220c637210f663194c63e72924d89dbce7afe92fed01bca8947bdd76af6f5365b0 SHA512 9da6be335e5615b2e14fdcccbadd50a0e2df6e19476818358216501b657350c73fa6bdc1dcaedec1fa50e3e18e39544e2d2815d6f54dd5b4aa5860bdf35e8d52 AUX cmake-3.15.0_rc2-FindBLAS.patch 1233 BLAKE2B 165307b41f7ebaa094e80adbab336ab10c48841a3c0b0e14b1277f847f624b421448cfc5e45a20e80f71f14ee7986ce756bc5b3d8e6b41b4a741611151d7f446 SHA512 2d46d95e69fd8eeaf8df198243269d87b83b87b6ade1d5f80d69ed78627a54ce05718596eaf43c7851fd4e010e526fa38350efeb2d92cbaf260e7789da0a2b6a AUX cmake-3.16.0_rc4-darwin-bundle.patch 1388 BLAKE2B bcb6c3d8e4f64ccc3e6ebf9ae906960075b3fb1f432925e07a711ac27321023033013e7a2e1d0ffc60dd464b775fa2537a49c73089861a2ce8f6316ddaa3d03e SHA512 7e0f598fe1cbb2c44b345091c102fb42ebff510ea7eeccdbe1fe0d65251127d823c37f2d37b073305679ed86fd48923566f1d62a7c9fb55df475d48891b4b861 +AUX cmake-3.17.0_rc1-FindBLAS.patch 1087 BLAKE2B 5e549db39f0e8c5f821a70121551ccea132e11dd8b468cfc7439e61763b5406860d952787d5957ea719dd48ec32ac8313d3209bed2a3423f5e40b8a2fcf04ae4 SHA512 1ea5e5e44c6a97cced30ef38424e24a3551d58c828d71d3b5994c265f099a3aa19174febfc2778eb688930432073e012557a79550d38b6b716e6b619d74a298c +AUX cmake-3.17.0_rc1-FindLAPACK.patch 1973 BLAKE2B d4f10694b55fcea047f364f3dd383ba12fb5c3ce4369bd527c286e23260b551a915fa5257f0351bce00a4332c987c047c246812f2a713b0d1db312c7d03edee4 SHA512 20baafcda95ba219ae4e186a8878aa75e2e27f766ab3afaa14ce316cd2c2bc85debfc6be4ed1b6c17c3c1532b3a6868d0b4ee7cc47145cb788838f023b624303 AUX cmake-3.4.0_rc1-darwin-bundle.patch 1043 BLAKE2B 99fc8061352b6a503f472e11045f9a99c2b980f08e9c1406722eacdd438617dccc394f53bdcaa4d93c4aa499b4615185c3ec99ccad8be3504972001498b02c48 SHA512 8c6297bf824d5a911e14004ac4c4e62d1a1528e44199d8860ca885bb1b8dd3d66a73c3db32664b830c3c635bdb498abbd5196be92ed2571cb22828d7186ff9f9 AUX cmake-3.5.2-FindQt4.patch 1585 BLAKE2B 8cfda84c419515be57f65be7b4b22d7937b656eb7f58d61c7d9e30db9dac36e934f2a529b4ea20d69c5f8a653c727bae34374ebcb7f5017fd70df41abd538164 SHA512 bab8960bfea3c29416bdc8f39c7dee59b89bd7951752401f24eeb9161ac7bc2c6dd200cb62c6b9f964d763b5d257a94d8b04dc7090d6fa947a04f2d0c2e8c479 AUX cmake-3.9.0_rc2-FindPythonInterp.patch 1458 BLAKE2B a70945921738f00952b40a73d9ea26ecc86614aa3f12c94226aac4710dd0b9723c365b6f5def965069a54919bab13a33490facc6c5e64fad69d2e05a97d2812f SHA512 8adcb75cc035f64521e85229eb8dfa1e627326f8e189f66b707b3a0448ed3ae6acf306643026f7cbc7b924edcef73cad7a107d83162b4ca46bd6bbdc7a58af12 AUX cmake.vim 217 BLAKE2B 5d2cf8b4101a7204fd27a9f21d82fea4d86fc4eeed54e062b543452dc574e73d1c80167c83eb482d9eec310950ac811ba35d3eeb97b51958f12f3adf575ddbe7 SHA512 2f7e9e949f8f3030a0dfcef56f4effea703ee60555c22f6a2d1dfeaf3334f33a3e88910c666f704e4ab60cde4ebb509c7d85d812a3c1627010e52fc757f15cdf DIST cmake-3.13.5.tar.gz 8618821 BLAKE2B 765678bc92821207c53bfb4ac995a791b938f20236c3a6fda873b8edd11cd1401b4f4c05f170b8f600f38bde5f1227c715499eee072a8de3bb29d4f5cd230226 SHA512 99e3a8f5bc147dd90b9cab11f06892d87f289aa1354ad323711fe96ebc9c32b1e887e8f9d3575a37831c4d2153a070ff9115c5e27a185d54170bad9dbbaabc26 DIST cmake-3.14.6.tar.gz 8861359 BLAKE2B 257a9a89fe880f8945f47a4bb1980e66f0f28ee5cebeb161012860ae8578487e50c60060ad5144ec6f5b7ea860112edd01909ebceec24b8370e3769ff2a79e99 SHA512 8cf3afadec3fe931d9f954e3148a398939cd16c1fbcb4c5303ac635e2b5029960867f317fd13a46fceebe46e7328689e847f03d7d7c74bb31e23c9cc55838f56 -DIST cmake-3.16.3.tar.gz 9111826 BLAKE2B 578c070457074a611504c0113b12bdfc8831c7e2cd523dfb038279404712456032646b107ca4d7d8dbff227e4f326ab053d90e3925a22a68a37d5c4e0d818bb2 SHA512 ca9e0a142369735ef6469afb97f4463c981404bd59c7d48c1ef454dd705460a31a5dcffa4949b84b1ac723f5b7e79d67b250126fb42e1f15dab0ac2a17603672 DIST cmake-3.16.4.tar.gz 9113021 BLAKE2B 5aa34cadec4ed09e4d0c46f6983b88cf81ea719c47a0848a21be36911b223d9e609bdc7f5b52086762ab83e4230a3ec9e38d9c9e3c9c6f508aa2118e769e3783 SHA512 4aa36608bac3b9e29ea765003cdc684733c025d7b18fbae057f3be1f726a159d4b0231b8b1be269206aa7dbd7177fe0110d5bac8d72fb0f6ad392bb284b1fce3 -EBUILD cmake-3.13.5.ebuild 6137 BLAKE2B 1e450506aadc07e1a29d551fe7d7d99471811315a7e0851dad15d3340fafd4fad4915736f0ab6e414d3cefa9fa04b62d4182803e2a6a007b0a662f340d220c3c SHA512 c09ed23c0ecce024f5f0d2f734f32a3aac6f146bc1d0023977881136da048623628fe5d4bb3a226b8970a3057b5186981153fd666c7723c983317f37471d1b88 -EBUILD cmake-3.14.6.ebuild 6192 BLAKE2B a6b5b336573cc343980871bad3f75667505d725d2d7362623e5c6645c3ad52a2897b99ec55ab625f0a19bea97a2dcc954741a1fbf3116f889b1cdd58ab1660d1 SHA512 50a73b9567171e2d1d9051c3645610e606094878269baf245e3961a82ee3038ec85901c1a2cb1b92e161e1c1e32da95e8ef8a272163bf1b847d08cc354e68a63 -EBUILD cmake-3.16.3.ebuild 5807 BLAKE2B ca8e76982988a5cf71ff325b057dee36bc0e49f49255ccd4acdd005d6c9d2ff71210391e2193dc51358fa61cdbe3bd50f9a8f69eb26c31a07c7b510853bb4d77 SHA512 03061e7339a914278aff215cffcdba415a025aafd7bbc2847b5f5b118dc0b02e7287d68ba1e6476563315f63b5d498dd2b0dd00f8fd1a62f8738db7f7e729fec +DIST cmake-3.17.0-rc1.tar.gz 9460071 BLAKE2B 53157977becff23b87c7ab4e320babef53b199b709c5446cfbb230f19666e5a43ab89c00c69ce3f750d3d2da591372f63daa681bef1626b3ceeef9374502593f SHA512 7ff9f21a488658275f61111241dca4e311441827edbc11f44dd4772e114e6f99cb0e3f85d8a8051a23783e7aa47e19683f83b5cf236e75ca9a9724ea9cb2a1c1 +EBUILD cmake-3.13.5.ebuild 6137 BLAKE2B b149b0b72b0892c75fc4b89bf4c394e000d3053dd370d4aeb7cc540b750a8ab0a6a646a09bf72f6027c57a416143ecd9ccdcb5b06bd9722c7e07cf9fbc3cbe39 SHA512 c18b86560efaa5de42de07dfe2e7932e7a98ab78dfa3cf85f25a5846647f74f4f4a016b21034e9e4f95c2c244e439ca33828b11f0be20c0ec0c7cb27eb1b67b9 +EBUILD cmake-3.14.6.ebuild 6192 BLAKE2B 0b3144295f908a5e74355cfb6e636318513ba55552c469e23a0896c4a7a2d3a763003e06e965fc4288dfe1773dfdd7c27bf6d6948869309e790b70c98ca91b20 SHA512 c6bb47e2c98653b654691341fbd458f6d47bb9e07d08c35e39e5e8902e732d7ed919968f665dc9c4bd0745850bdb963b9144f9978f52abd8cc1a500a8291e26d EBUILD cmake-3.16.4.ebuild 5807 BLAKE2B ca8e76982988a5cf71ff325b057dee36bc0e49f49255ccd4acdd005d6c9d2ff71210391e2193dc51358fa61cdbe3bd50f9a8f69eb26c31a07c7b510853bb4d77 SHA512 03061e7339a914278aff215cffcdba415a025aafd7bbc2847b5f5b118dc0b02e7287d68ba1e6476563315f63b5d498dd2b0dd00f8fd1a62f8738db7f7e729fec +EBUILD cmake-3.17.0_rc1.ebuild 5807 BLAKE2B 39ea073d05783338eb14c34aa8071c05b9869c662ceac078027e73735b66fe2eaa1395ff1c20b5a2a4138f24cd27eac4b57564b7c95e13147e659a08b8f71696 SHA512 8d1fad9d9ed58411afdf858ba821bac72d472070855a281c9db6c02690b131989a40581f487b6dafb213ce7de705234c5e4497801723ffc1e73eb7e6d21fc997 MISC metadata.xml 372 BLAKE2B de2835a1f98bccd88e343ab7c058b40df0e9aa4afe938770d67a6e764ac85926b369b6d9ac4851d5deec3954436d3cb8a112b5543ac1debf74205f05641ed2ee SHA512 6c457abaf6c174d6d14b77af47c4fb65b26873cbb7a5a4fbafc558ff4c5c7c6cb0200c0f69e7a492007af4b402baeaf54177f6755c3e6da0ace149eb9bcfe69a diff --git a/dev-util/cmake/cmake-3.13.5.ebuild b/dev-util/cmake/cmake-3.13.5.ebuild index 4c4b1fe6488c..e0c63f1d3044 100644 --- a/dev-util/cmake/cmake-3.13.5.ebuild +++ b/dev-util/cmake/cmake-3.13.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/dev-util/cmake/cmake-3.14.6.ebuild b/dev-util/cmake/cmake-3.14.6.ebuild index 4ed3f6c3ca9f..b1f72ffce411 100644 --- a/dev-util/cmake/cmake-3.14.6.ebuild +++ b/dev-util/cmake/cmake-3.14.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/dev-util/cmake/cmake-3.16.3.ebuild b/dev-util/cmake/cmake-3.17.0_rc1.ebuild index 5b1f3688d59a..8f7b237f89e3 100644 --- a/dev-util/cmake/cmake-3.16.3.ebuild +++ b/dev-util/cmake/cmake-3.17.0_rc1.ebuild @@ -58,8 +58,8 @@ PATCHES=( #"${FILESDIR}"/${PN}-3.1.0-darwin-isysroot.patch # handle gentoo packaging in find modules - "${FILESDIR}"/${PN}-3.15.0_rc2-FindBLAS.patch - "${FILESDIR}"/${PN}-3.14.0_rc1-FindLAPACK.patch + "${FILESDIR}"/${PN}-3.17.0_rc1-FindBLAS.patch + "${FILESDIR}"/${PN}-3.17.0_rc1-FindLAPACK.patch "${FILESDIR}"/${PN}-3.5.2-FindQt4.patch # respect python eclasses diff --git a/dev-util/cmake/files/cmake-3.17.0_rc1-FindBLAS.patch b/dev-util/cmake/files/cmake-3.17.0_rc1-FindBLAS.patch new file mode 100644 index 000000000000..6c919877cfd1 --- /dev/null +++ b/dev-util/cmake/files/cmake-3.17.0_rc1-FindBLAS.patch @@ -0,0 +1,37 @@ +From f4009d1efccf571d229e89fab846b0d5873e7a5b Mon Sep 17 00:00:00 2001 +From: Lars Wendler <polynomial-c@gentoo.org> +Date: Thu, 13 Feb 2020 13:12:45 +0100 +Subject: [PATCH] Prefer pkgconfig in FindBLAS + +--- + Modules/FindBLAS.cmake | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake +index 9b6d09c2f9..c2af42468c 100644 +--- a/Modules/FindBLAS.cmake ++++ b/Modules/FindBLAS.cmake +@@ -7,6 +7,10 @@ FindBLAS + + Find Basic Linear Algebra Subprograms (BLAS) library + ++Version modified for Gentoo Linux. ++If a valid PkgConfig configuration is found, this overrides and cancels ++all further checks. ++ + This module finds an installed Fortran library that implements the + BLAS linear-algebra interface (see http://www.netlib.org/blas/). + +@@ -107,6 +111,9 @@ if(NOT (CMAKE_C_COMPILER_LOADED OR CMAKE_CXX_COMPILER_LOADED OR CMAKE_Fortran_CO + endif() + endif() + ++# first, try PkgConfig ++set(BLA_PREFER_PKGCONFIG On) ++ + if(CMAKE_Fortran_COMPILER_LOADED) + include(${CMAKE_CURRENT_LIST_DIR}/CheckFortranFunctionExists.cmake) + else() +-- +2.25.0 + diff --git a/dev-util/cmake/files/cmake-3.17.0_rc1-FindLAPACK.patch b/dev-util/cmake/files/cmake-3.17.0_rc1-FindLAPACK.patch new file mode 100644 index 000000000000..29eefcbd5156 --- /dev/null +++ b/dev-util/cmake/files/cmake-3.17.0_rc1-FindLAPACK.patch @@ -0,0 +1,56 @@ +From 7459f27dd4bb9b60067ac49ee2c6be93d20c2c1e Mon Sep 17 00:00:00 2001 +From: Lars Wendler <polynomial-c@gentoo.org> +Date: Thu, 13 Feb 2020 13:16:16 +0100 +Subject: [PATCH] Prefer pkgconfig in FindLAPACK + +--- + Modules/FindLAPACK.cmake | 22 ++++++++++++++++++++++ + 1 file changed, 22 insertions(+) + +diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake +index c9629769f0..de852d562c 100644 +--- a/Modules/FindLAPACK.cmake ++++ b/Modules/FindLAPACK.cmake +@@ -7,6 +7,10 @@ FindLAPACK + + Find Linear Algebra PACKage (LAPACK) library + ++Version modified for Gentoo Linux. ++If a valid PkgConfig configuration is found, this overrides and cancels ++all further checks. ++ + This module finds an installed Fortran library that implements the + LAPACK linear-algebra interface (see http://www.netlib.org/lapack/). + +@@ -186,6 +190,22 @@ macro(CHECK_LAPACK_LIBRARIES LIBRARIES _prefix _name _flags _list _threadlibs _a + #message("DEBUG: ${LIBRARIES} = ${${LIBRARIES}}") + endmacro() + ++# first, try PkgConfig ++find_package(PkgConfig REQUIRED) ++pkg_check_modules(PC_LAPACK lapack) ++if(PC_LAPACK_FOUND) ++ foreach(PC_LIB ${PC_LAPACK_LIBRARIES}) ++ find_library(${PC_LIB}_LIBRARY NAMES ${PC_LIB} HINTS ${PC_LAPACK_LIBRARY_DIRS} ) ++ if (NOT ${PC_LIB}_LIBRARY) ++ message(FATAL_ERROR "Something is wrong in your pkg-config file - lib ${PC_LIB} not found in ${PC_LAPACK_LIBRARY_DIRS}") ++ endif (NOT ${PC_LIB}_LIBRARY) ++ list(APPEND LAPACK_LIBRARIES ${${PC_LIB}_LIBRARY}) ++ endforeach(PC_LIB) ++ find_package_handle_standard_args(LAPACK DEFAULT_MSG LAPACK_LIBRARIES) ++ mark_as_advanced(LAPACK_LIBRARIES) ++else(PC_LAPACK_FOUND) ++message(STATUS "No PkgConfig configuration for LAPACK found; starting more extensive search.") ++ + set(LAPACK_LINKER_FLAGS) + set(LAPACK_LIBRARIES) + set(LAPACK95_LIBRARIES) +@@ -494,3 +514,5 @@ endif() + + cmake_pop_check_state() + set(CMAKE_FIND_LIBRARY_SUFFIXES ${_lapack_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES}) ++ ++endif(PC_LAPACK_FOUND) +-- +2.25.0 + |