Unverified Commit 069a5c31 authored by Igor S. Gerasimov's avatar Igor S. Gerasimov
Browse files

FindLAPACK: SCSL also has LAPACK routines

parent dbcc5eaa
......@@ -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.+")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment