diff options
author | Igor S. Gerasimov <i.s.ger@ya.ru> | 2021-07-28 12:56:34 (GMT) |
---|---|---|
committer | Igor S. Gerasimov <i.s.ger@ya.ru> | 2021-07-28 12:56:34 (GMT) |
commit | dbcc5eaa05337a12655e11bcf34259c0bdac3589 (patch) | |
tree | 355110213b7ac0aa2ddbb1c4971d61b3bd733493 /Modules/FindBLAS.cmake | |
parent | 986caf9b86de75bef071af098435451f0e20645a (diff) | |
download | CMake-dbcc5eaa05337a12655e11bcf34259c0bdac3589.zip CMake-dbcc5eaa05337a12655e11bcf34259c0bdac3589.tar.gz CMake-dbcc5eaa05337a12655e11bcf34259c0bdac3589.tar.bz2 |
FindBLAS: Update SCSL library
Diffstat (limited to 'Modules/FindBLAS.cmake')
-rw-r--r-- | Modules/FindBLAS.cmake | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake index 799d179..5d5a362 100644 --- a/Modules/FindBLAS.cmake +++ b/Modules/FindBLAS.cmake @@ -150,7 +150,7 @@ BLAS/LAPACK Vendors ``PhiPACK`` Portable High Performance ANSI C (PHiPAC) -``SCSL`` +``SCSL``, ``SCSL_mp`` Scientific Computing Software Library ``SGIMATH`` @@ -862,19 +862,27 @@ if(BLA_VENDOR STREQUAL "SunPerf" OR BLA_VENDOR STREQUAL "All") endif() # BLAS in SCSL library? (SGI/Cray Scientific Library) -if(BLA_VENDOR STREQUAL "SCSL" OR BLA_VENDOR STREQUAL "All") +if(BLA_VENDOR MATCHES "SCSL" OR BLA_VENDOR STREQUAL "All") + set(_blas_scsl_lib "scs") + + if(BLA_VENDOR MATCHES "_mp") + set(_blas_scsl_lib "${_blas_scsl_lib}_mp") + endif() + if(NOT BLAS_LIBRARIES) check_blas_libraries( BLAS_LIBRARIES BLAS sgemm "" - "scsl" + "${_blas_scsl_lib}" "" "" "" ) endif() + + unset(_blas_scsl_lib) endif() # BLAS in SGIMATH library? |