Skip to content

Commit

Permalink
TPLs BLAS and LAPACK: Add OpenBLAS to library names
Browse files Browse the repository at this point in the history
This allows to use OpenBLAS for BLAS and LAPACK without additional
configuration.

Signed-off-by: Christian Glusa <[email protected]>
  • Loading branch information
cgcgcg committed Nov 1, 2024
1 parent 09758e9 commit 4f2d53a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmake/TPLs/FindTPLBLAS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")
2 changes: 1 addition & 1 deletion cmake/TPLs/FindTPLLAPACK.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")
2 changes: 1 addition & 1 deletion cmake/tribits/common_tpls/FindTPLBLAS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmake/tribits/common_tpls/FindTPLLAPACK.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f2d53a

Please sign in to comment.