diff options
author | Igor S. Gerasimov <i.s.ger@ya.ru> | 2021-08-07 08:20:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-09-22 19:16:22 (GMT) |
commit | 21250d4dd2e0e6cdb3da089b6f9e0d8e30614f40 (patch) | |
tree | c70da612e2fcda9d8e2585c6cc873af597d3fd33 /Modules | |
parent | 84b7e2e15d6ed70474c345484c2961725f066142 (diff) | |
download | CMake-21250d4dd2e0e6cdb3da089b6f9e0d8e30614f40.zip CMake-21250d4dd2e0e6cdb3da089b6f9e0d8e30614f40.tar.gz CMake-21250d4dd2e0e6cdb3da089b6f9e0d8e30614f40.tar.bz2 |
FindBLAS: Update OpenBLAS
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindBLAS.cmake | 8 |
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) |