mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Find{BLAS,LAPACK}: Only search for the needed components of NVPL
This commit is contained in:
@@ -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