summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorIgor S. Gerasimov <i.s.ger@ya.ru>2021-08-07 08:20:15 (GMT)
committerBrad King <brad.king@kitware.com>2021-09-22 19:16:22 (GMT)
commit21250d4dd2e0e6cdb3da089b6f9e0d8e30614f40 (patch)
treec70da612e2fcda9d8e2585c6cc873af597d3fd33 /Modules
parent84b7e2e15d6ed70474c345484c2961725f066142 (diff)
downloadCMake-21250d4dd2e0e6cdb3da089b6f9e0d8e30614f40.zip
CMake-21250d4dd2e0e6cdb3da089b6f9e0d8e30614f40.tar.gz
CMake-21250d4dd2e0e6cdb3da089b6f9e0d8e30614f40.tar.bz2
FindBLAS: Update OpenBLAS
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindBLAS.cmake8
1 files changed, 6 insertions, 2 deletions
diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake
index ca3afc4..5ce726c 100644
--- a/Modules/FindBLAS.cmake
+++ b/Modules/FindBLAS.cmake
@@ -691,13 +691,15 @@ endif()
# OpenBLAS? (http://www.openblas.net)
if(BLA_VENDOR STREQUAL "OpenBLAS" OR BLA_VENDOR STREQUAL "All")
+ set(_blas_openblas_lib "openblas")
+
if(NOT BLAS_LIBRARIES)
check_blas_libraries(
BLAS_LIBRARIES
BLAS
sgemm
""
- "openblas"
+ "${_blas_openblas_lib}"
""
""
""
@@ -724,13 +726,15 @@ if(BLA_VENDOR STREQUAL "OpenBLAS" OR BLA_VENDOR STREQUAL "All")
BLAS
sgemm
""
- "openblas"
+ "${_blas_openblas_lib}"
"${_threadlibs}"
""
""
)
unset(_threadlibs)
endif()
+
+ unset(_blas_openblas_lib)
endif()
# ArmPL blas library? (https://developer.arm.com/tools-and-software/server-and-hpc/compile/arm-compiler-for-linux/arm-performance-libraries)