From 4f2d53a9771e9b017a3819c7b827dea229dc44ee Mon Sep 17 00:00:00 2001 From: Christian Glusa Date: Fri, 1 Nov 2024 13:32:55 -0600 Subject: [PATCH] TPLs BLAS and LAPACK: Add OpenBLAS to library names This allows to use OpenBLAS for BLAS and LAPACK without additional configuration. Signed-off-by: Christian Glusa --- cmake/TPLs/FindTPLBLAS.cmake | 2 +- cmake/TPLs/FindTPLLAPACK.cmake | 2 +- cmake/tribits/common_tpls/FindTPLBLAS.cmake | 2 +- cmake/tribits/common_tpls/FindTPLLAPACK.cmake | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmake/TPLs/FindTPLBLAS.cmake b/cmake/TPLs/FindTPLBLAS.cmake index e2b802502c85..0c6b6715121a 100644 --- a/cmake/TPLs/FindTPLBLAS.cmake +++ b/cmake/TPLs/FindTPLBLAS.cmake @@ -22,4 +22,4 @@ if (MSVC AND NOT endif() tribits_tpl_find_include_dirs_and_libraries( BLAS - REQUIRED_LIBS_NAMES "blas blas_win32") + REQUIRED_LIBS_NAMES "openblas blas blas_win32") diff --git a/cmake/TPLs/FindTPLLAPACK.cmake b/cmake/TPLs/FindTPLLAPACK.cmake index 8852cbf6b062..ceab50dd7a59 100644 --- a/cmake/TPLs/FindTPLLAPACK.cmake +++ b/cmake/TPLs/FindTPLLAPACK.cmake @@ -16,4 +16,4 @@ if (MSVC AND NOT endif() tribits_tpl_find_include_dirs_and_libraries( LAPACK - REQUIRED_LIBS_NAMES "lapack lapack_win32") + REQUIRED_LIBS_NAMES "openblas lapack lapack_win32") diff --git a/cmake/tribits/common_tpls/FindTPLBLAS.cmake b/cmake/tribits/common_tpls/FindTPLBLAS.cmake index 1ebe176a80c5..ff172ebe41ca 100644 --- a/cmake/tribits/common_tpls/FindTPLBLAS.cmake +++ b/cmake/tribits/common_tpls/FindTPLBLAS.cmake @@ -8,7 +8,7 @@ # @HEADER -set(REQUIRED_LIBS_NAMES "blas blas_win32") +set(REQUIRED_LIBS_NAMES "openblas blas blas_win32") # # Second, search for BLAS components (if allowed) using the standard diff --git a/cmake/tribits/common_tpls/FindTPLLAPACK.cmake b/cmake/tribits/common_tpls/FindTPLLAPACK.cmake index 9874532fea7c..8ee980492217 100644 --- a/cmake/tribits/common_tpls/FindTPLLAPACK.cmake +++ b/cmake/tribits/common_tpls/FindTPLLAPACK.cmake @@ -14,7 +14,7 @@ # to trigger the right behavior in the function # tribits_tpl_find_include_dirs_and_libraries(). # -set(REQUIRED_LIBS_NAMES "lapack lapack_win32") +set(REQUIRED_LIBS_NAMES "openblas lapack lapack_win32") # # Second, search for LAPACK components (if allowed) using the standard