summaryrefslogtreecommitdiff
path: root/math/lapack/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2023-12-20 15:14:36 +0100
committerThierry Thomas <thierry@FreeBSD.org>2024-01-01 12:43:45 +0100
commitcc1715e889fd1210a2051cd6a22e3e3eaca18dce (patch)
treec2f7eea026fa388fa30cb377c2084511ddbee682 /math/lapack/files/patch-CMakeLists.txt
parentnet/mpich: real fix for clang-17 (diff)
math/*: upgrade blas, lapack, cblas, xlapack and lapacke to 3.12.0
Release notes at <https://github.com/Reference-LAPACK/lapack/releases/tag/v3.12.0> PR: 275860 Exp-run by: antoine@
Diffstat (limited to 'math/lapack/files/patch-CMakeLists.txt')
-rw-r--r--math/lapack/files/patch-CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/math/lapack/files/patch-CMakeLists.txt b/math/lapack/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..db50ddd14eee
--- /dev/null
+++ b/math/lapack/files/patch-CMakeLists.txt
@@ -0,0 +1,10 @@
+--- CMakeLists.txt.orig 2023-11-24 20:41:15 UTC
++++ CMakeLists.txt
+@@ -223,6 +223,7 @@ if(BLAS_LIBRARIES)
+
+ # Check the usage of the user provided BLAS libraries
+ if(BLAS_LIBRARIES)
++ enable_language(Fortran)
+ include(CheckFortranFunctionExists)
+ set(CMAKE_REQUIRED_LIBRARIES ${BLAS_LIBRARIES})
+ CHECK_FORTRAN_FUNCTION_EXISTS("dgemm" BLAS_FOUND)