From 79599515788b85b18aa655e7b7f8cc05c1bbddd8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 16 Feb 2019 12:59:29 +0000 Subject: gentoo resync : 16.02.1018 --- .../cmake/files/cmake-3.14.0_rc1-FindBLAS.patch | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 dev-util/cmake/files/cmake-3.14.0_rc1-FindBLAS.patch (limited to 'dev-util/cmake/files/cmake-3.14.0_rc1-FindBLAS.patch') diff --git a/dev-util/cmake/files/cmake-3.14.0_rc1-FindBLAS.patch b/dev-util/cmake/files/cmake-3.14.0_rc1-FindBLAS.patch new file mode 100644 index 000000000000..3a308f57cea1 --- /dev/null +++ b/dev-util/cmake/files/cmake-3.14.0_rc1-FindBLAS.patch @@ -0,0 +1,37 @@ +From 12b2c3ad6a5c5c7f67afe87fec3f81761de0b909 Mon Sep 17 00:00:00 2001 +From: Lars Wendler +Date: Sun, 10 Feb 2019 22:54:51 +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 0aa4f5035b..7b67c95f1f 100644 +--- a/Modules/FindBLAS.cmake ++++ b/Modules/FindBLAS.cmake +@@ -7,6 +7,10 @@ FindBLAS + + Find 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/). The + list of libraries searched for is taken from the autoconf macro file, +@@ -85,6 +89,9 @@ This module defines the following variables: + find_package(BLAS) + #]=======================================================================] + ++# first, try PkgConfig ++set(BLA_PREFER_PKGCONFIG On) ++ + include(${CMAKE_CURRENT_LIST_DIR}/CheckFunctionExists.cmake) + include(${CMAKE_CURRENT_LIST_DIR}/CheckFortranFunctionExists.cmake) + include(${CMAKE_CURRENT_LIST_DIR}/CMakePushCheckState.cmake) +-- +2.20.1 + -- cgit v1.2.3