mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 04:40:56 -06:00
FindBLAS: Update SCSL library
This commit is contained in:
@@ -150,7 +150,7 @@ BLAS/LAPACK Vendors
|
|||||||
``PhiPACK``
|
``PhiPACK``
|
||||||
Portable High Performance ANSI C (PHiPAC)
|
Portable High Performance ANSI C (PHiPAC)
|
||||||
|
|
||||||
``SCSL``
|
``SCSL``, ``SCSL_mp``
|
||||||
Scientific Computing Software Library
|
Scientific Computing Software Library
|
||||||
|
|
||||||
``SGIMATH``
|
``SGIMATH``
|
||||||
@@ -862,19 +862,27 @@ if(BLA_VENDOR STREQUAL "SunPerf" OR BLA_VENDOR STREQUAL "All")
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# BLAS in SCSL library? (SGI/Cray Scientific Library)
|
# 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)
|
if(NOT BLAS_LIBRARIES)
|
||||||
check_blas_libraries(
|
check_blas_libraries(
|
||||||
BLAS_LIBRARIES
|
BLAS_LIBRARIES
|
||||||
BLAS
|
BLAS
|
||||||
sgemm
|
sgemm
|
||||||
""
|
""
|
||||||
"scsl"
|
"${_blas_scsl_lib}"
|
||||||
""
|
""
|
||||||
""
|
""
|
||||||
""
|
""
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
unset(_blas_scsl_lib)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# BLAS in SGIMATH library?
|
# BLAS in SGIMATH library?
|
||||||
|
|||||||
Reference in New Issue
Block a user