mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 20:00:38 -06:00
FindLAPACK: SCSL also has LAPACK routines
This commit is contained in:
@@ -491,6 +491,30 @@ if(NOT LAPACK_NOT_FOUND_MESSAGE)
|
||||
)
|
||||
endif()
|
||||
|
||||
# LAPACK in SCSL library? (SGI/Cray Scientific Library)
|
||||
if(NOT LAPACK_LIBRARIES
|
||||
AND (BLA_VENDOR MATCHES "SCSL" OR BLA_VENDOR STREQUAL "All"))
|
||||
set(_lapack_scsl_lib "scs")
|
||||
|
||||
# Check for OpenMP support, VIA BLA_VENDOR of scs_mp
|
||||
if(BLA_VENDOR MATCHES "_mp")
|
||||
set(_lapack_scsl_lib "${_lapack_scsl_lib}_mp")
|
||||
endif()
|
||||
|
||||
check_lapack_libraries(
|
||||
LAPACK_LIBRARIES
|
||||
LAPACK
|
||||
cheev
|
||||
""
|
||||
"${_lapack_scsl_lib}"
|
||||
""
|
||||
""
|
||||
""
|
||||
"${BLAS_LIBRARIES}"
|
||||
)
|
||||
unset(_lapack_scsl_lib)
|
||||
endif()
|
||||
|
||||
# BLAS in acml library?
|
||||
if(BLA_VENDOR MATCHES "ACML" OR BLA_VENDOR STREQUAL "All")
|
||||
if(BLAS_LIBRARIES MATCHES ".+acml.+")
|
||||
|
||||
Reference in New Issue
Block a user