mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 13:27:09 +00:00
Find{BLAS,LAPACK}: Only search for the needed components of NVPL
This commit is contained in:
1 parent
9e593fd2c0
commit
cdf4234bc4
2 files changed
+4
-4
No files matched your search
@@ -1378,8 +1378,8 @@ if(BLA_VENDOR STREQUAL "NVPL" OR BLA_VENDOR STREQUAL "All")
|
||||
endif()
|
||||
|
||||
if(NOT BLAS_LIBRARIES)
|
||||
find_package(nvpl QUIET)
|
||||
if(nvpl_FOUND)
|
||||
find_package(nvpl QUIET COMPONENTS blas)
|
||||
if(nvpl_blas_FOUND)
|
||||
foreach(_nvpl_thread IN LISTS _blas_nvpl_threads)
|
||||
foreach(_nvpl_int IN LISTS _blas_nvpl_ints)
|
||||
|
||||
|
||||
@@ -750,8 +750,8 @@ if(NOT LAPACK_NOT_FOUND_MESSAGE)
|
||||
list(APPEND _lapack_nvpl_threads "_seq")
|
||||
endif()
|
||||
|
||||
find_package(nvpl QUIET)
|
||||
if(nvpl_FOUND)
|
||||
find_package(nvpl QUIET COMPONENTS lapack)
|
||||
if(nvpl_lapack_FOUND)
|
||||
foreach(_nvpl_thread IN LISTS _lapack_nvpl_threads)
|
||||
foreach(_nvpl_int IN LISTS _lapack_nvpl_ints)
|
||||
|
||||
|
||||
Reference in new issue
Block a user