summaryrefslogtreecommitdiffstats
path: root/Tests/FindLAPACK
diff options
context:
space:
mode:
authorIgor S. Gerasimov <i.s.ger@ya.ru>2021-09-04 02:35:22 (GMT)
committerIgor S. Gerasimov <i.s.ger@ya.ru>2021-10-05 14:41:36 (GMT)
commit95219365ff76d9f28eb0c09cf2ad73312a2da11f (patch)
treeefe69b192857230c164a26f7349a7aed05b625c1 /Tests/FindLAPACK
parent2cd94f3e57e843fa392f3c50d2c141c938b48112 (diff)
downloadCMake-95219365ff76d9f28eb0c09cf2ad73312a2da11f.zip
CMake-95219365ff76d9f28eb0c09cf2ad73312a2da11f.tar.gz
CMake-95219365ff76d9f28eb0c09cf2ad73312a2da11f.tar.bz2
Find{BLAS,LAPACK}: Make possible testing of ILP64 model
Diffstat (limited to 'Tests/FindLAPACK')
-rw-r--r--Tests/FindLAPACK/Test/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/FindLAPACK/Test/CMakeLists.txt b/Tests/FindLAPACK/Test/CMakeLists.txt
index 23a43ac..21b1303 100644
--- a/Tests/FindLAPACK/Test/CMakeLists.txt
+++ b/Tests/FindLAPACK/Test/CMakeLists.txt
@@ -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()