summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorIgor S. Gerasimov <i.s.ger@ya.ru>2021-08-07 07:59:29 (GMT)
committerBrad King <brad.king@kitware.com>2021-09-22 19:16:21 (GMT)
commit8a859fd6aef8f6c829eaf2a9b0628f1e049951c0 (patch)
treefcc624eaf87d2c97c7a614a73d487601fec5444e /Modules
parent286bdad53108c0cdd80a27d62c421e65bd4e8e26 (diff)
downloadCMake-8a859fd6aef8f6c829eaf2a9b0628f1e049951c0.zip
CMake-8a859fd6aef8f6c829eaf2a9b0628f1e049951c0.tar.gz
CMake-8a859fd6aef8f6c829eaf2a9b0628f1e049951c0.tar.bz2
FindLAPACK: Fujitsu_SSL2: LAPACK is in BLAS
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindLAPACK.cmake29
1 files changed, 3 insertions, 26 deletions
diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake
index f36acfd..7b5e01d 100644
--- a/Modules/FindLAPACK.cmake
+++ b/Modules/FindLAPACK.cmake
@@ -581,33 +581,10 @@ if(NOT LAPACK_NOT_FOUND_MESSAGE)
# Fujitsu SSL2 Library?
if(NOT LAPACK_LIBRARIES
AND (BLA_VENDOR MATCHES "Fujitsu_SSL2" OR BLA_VENDOR STREQUAL "All"))
- if(BLA_VENDOR STREQUAL "Fujitsu_SSL2BLAMP")
- set(_ssl2_suffix BLAMP)
- else()
- set(_ssl2_suffix)
- endif()
- set(_ssl2_blas)
- if(BLAS_LIBRARIES STREQUAL "")
- set(_ssl2_blas "${BLAS_LINKER_FLAGS}")
- else()
- set(_ssl2_blas "${BLAS_LIBRARIES} ${BLAS_LINKER_FLAGS}")
- endif()
- check_lapack_libraries(
- LAPACK_LIBRARIES
- LAPACK
- cheev
- "-SSL2${_ssl2_suffix}"
- ""
- ""
- ""
- ""
- "${_ssl2_blas}"
- )
- if(LAPACK_LIBRARIES)
- set(LAPACK_LINKER_FLAGS "-SSL2${_ssl2_suffix}")
- set(_lapack_fphsa_req_var LAPACK_LINKER_FLAGS)
+ if(BLAS_LIBRARIES MATCHES "fjlapack.+")
+ set(LAPACK_LIBRARIES ${BLAS_LIBRARIES})
+ set(LAPACK_LINKER_FLAGS ${BLAS_LINKER_FLAGS})
endif()
- unset(_ssl2_suffix)
endif()
# LAPACK in IBM ESSL library?