mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 05:11:15 -06:00
FindLAPACK: IBMESSL: LAPACK is in BLAS
This commit is contained in:
committed by
Brad King
parent
8a859fd6ae
commit
f17f20f6cd
@@ -590,25 +590,9 @@ if(NOT LAPACK_NOT_FOUND_MESSAGE)
|
||||
# LAPACK in IBM ESSL library?
|
||||
if(NOT LAPACK_LIBRARIES
|
||||
AND (BLA_VENDOR MATCHES "IBMESSL" OR BLA_VENDOR STREQUAL "All"))
|
||||
set(_lapack_essl_lib "essl")
|
||||
|
||||
# Check for OpenMP support, VIA BLA_VENDOR of esslsmp
|
||||
if(BLA_VENDOR MATCHES "_SMP")
|
||||
set(_lapack_essl_lib "${_lapack_essl_lib}smp")
|
||||
if(BLAS_LIBRARIES MATCHES "essl.+")
|
||||
set(LAPACK_LIBRARIES ${BLAS_LIBRARIES})
|
||||
endif()
|
||||
|
||||
check_lapack_libraries(
|
||||
LAPACK_LIBRARIES
|
||||
LAPACK
|
||||
cheev
|
||||
""
|
||||
"${_lapack_essl_lib}"
|
||||
""
|
||||
""
|
||||
""
|
||||
"${BLAS_LIBRARIES}"
|
||||
)
|
||||
unset(_lapack_essl_lib)
|
||||
endif()
|
||||
|
||||
# NVHPC Library?
|
||||
|
||||
Reference in New Issue
Block a user