|
@@ -586,6 +586,30 @@ if(NOT LAPACK_NOT_FOUND_MESSAGE)
|
|
|
unset(_ssl2_suffix)
|
|
unset(_ssl2_suffix)
|
|
|
endif()
|
|
endif()
|
|
|
|
|
|
|
|
|
|
+ # 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")
|
|
|
|
|
+ endif()
|
|
|
|
|
+
|
|
|
|
|
+ check_lapack_libraries(
|
|
|
|
|
+ LAPACK_LIBRARIES
|
|
|
|
|
+ LAPACK
|
|
|
|
|
+ cheev
|
|
|
|
|
+ ""
|
|
|
|
|
+ "${_lapack_essl_lib}"
|
|
|
|
|
+ ""
|
|
|
|
|
+ ""
|
|
|
|
|
+ ""
|
|
|
|
|
+ "${BLAS_LIBRARIES}"
|
|
|
|
|
+ )
|
|
|
|
|
+ unset(_lapack_essl_lib)
|
|
|
|
|
+ endif()
|
|
|
|
|
+
|
|
|
# NVHPC Library?
|
|
# NVHPC Library?
|
|
|
if(NOT LAPACK_LIBRARIES
|
|
if(NOT LAPACK_LIBRARIES
|
|
|
AND (BLA_VENDOR MATCHES "NVHPC" OR BLA_VENDOR STREQUAL "All"))
|
|
AND (BLA_VENDOR MATCHES "NVHPC" OR BLA_VENDOR STREQUAL "All"))
|