mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 16:32:14 -06:00
Find{BLAS,LAPACK}: Make possible testing of ILP64 model
This commit is contained in:
@@ -17,4 +17,9 @@ if((BLA_VENDOR STREQUAL "Intel10_64lp") OR
|
||||
if(NOT BLAS_LIBRARIES MATCHES "^(-Wl,--start-group;)?[^;]*mkl_intel_lp64")
|
||||
message(FATAL_ERROR "BLAS_LIBRARIES does not start in mkl_intel_lp64:\n ${BLAS_LIBRARIES}")
|
||||
endif()
|
||||
elseif((BLA_VENDOR STREQUAL "Intel10_64ilp") OR
|
||||
(BLA_VENDOR STREQUAL "All" AND EXPECT_All STREQUAL "Intel10_64ilp"))
|
||||
if(NOT BLAS_LIBRARIES MATCHES "^(-Wl,--start-group;)?[^;]*mkl_intel_ilp64")
|
||||
message(FATAL_ERROR "BLAS_LIBRARIES does not start in mkl_intel_ilp64:\n ${BLAS_LIBRARIES}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@@ -17,4 +17,9 @@ if((BLA_VENDOR STREQUAL "Intel10_64lp") OR
|
||||
if(NOT LAPACK_LIBRARIES MATCHES "^(-Wl,--start-group;)?[^;]*mkl_intel_lp64")
|
||||
message(FATAL_ERROR "LAPACK_LIBRARIES does not start in mkl_intel_lp64:\n ${LAPACK_LIBRARIES}")
|
||||
endif()
|
||||
elseif((BLA_VENDOR STREQUAL "Intel10_64ilp") OR
|
||||
(BLA_VENDOR STREQUAL "All" AND EXPECT_All STREQUAL "Intel10_64ilp"))
|
||||
if(NOT LAPACK_LIBRARIES MATCHES "^(-Wl,--start-group;)?[^;]*mkl_intel_ilp64")
|
||||
message(FATAL_ERROR "LAPACK_LIBRARIES does not start in mkl_intel_ilp64:\n ${LAPACK_LIBRARIES}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user