lapack: bypass broken FortranCInterface_VERIFY() check

Fixes the build with gcc/15 and clears the way to boost.
This commit is contained in:
tb
2025-11-17 12:41:06 +00:00
parent 1ebc08a040
commit ae38ea2d24
2 changed files with 24 additions and 0 deletions
@@ -0,0 +1,12 @@
Index: CBLAS/CMakeLists.txt
--- CBLAS/CMakeLists.txt.orig
+++ CBLAS/CMakeLists.txt
@@ -10,7 +10,7 @@ if(CMAKE_Fortran_COMPILER)
enable_language(Fortran)
include(FortranCInterface)
## Ensure that the fortran compiler and c compiler specified are compatible
- FortranCInterface_VERIFY()
+ #FortranCInterface_VERIFY()
FortranCInterface_HEADER(${LAPACK_BINARY_DIR}/include/cblas_mangling.h
MACRO_NAMESPACE "F77_"
SYMBOL_NAMESPACE "F77_")
@@ -0,0 +1,12 @@
Index: LAPACKE/include/CMakeLists.txt
--- LAPACKE/include/CMakeLists.txt.orig
+++ LAPACKE/include/CMakeLists.txt
@@ -14,7 +14,7 @@ if(CMAKE_Fortran_COMPILER AND CMAKE_C_COMPILER)
enable_language(C)
include(FortranCInterface)
## Ensure that the fortran compiler and c compiler specified are compatible
- FortranCInterface_VERIFY()
+ #FortranCInterface_VERIFY()
FortranCInterface_HEADER(${LAPACK_BINARY_DIR}/include/lapacke_mangling.h
MACRO_NAMESPACE "LAPACK_"
SYMBOL_NAMESPACE "LAPACK_")