diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /sci-libs/superlu/files | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'sci-libs/superlu/files')
-rw-r--r-- | sci-libs/superlu/files/superlu-5.2.2-no-internal-blas.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sci-libs/superlu/files/superlu-5.2.2-no-internal-blas.patch b/sci-libs/superlu/files/superlu-5.2.2-no-internal-blas.patch new file mode 100644 index 000000000000..e48a7c86fa31 --- /dev/null +++ b/sci-libs/superlu/files/superlu-5.2.2-no-internal-blas.patch @@ -0,0 +1,19 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 08027ce..8884585 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -121,13 +121,7 @@ if(BLAS_FOUND) + set(BLAS_LIB_EXPORT ${BLAS_LIB_STR}) + else() + message("-- Did not find or specify BLAS so configure to build internal CBLAS ...") +- add_subdirectory(CBLAS) +- set(BLAS_LIB blas) +- if (BUILD_SHARED_LIBS) # export to be referenced by downstream makefile +- set(BLAS_LIB_EXPORT ${CMAKE_INSTALL_PREFIX}/CBLAS/libblas.so) +- else() +- set(BLAS_LIB_EXPORT ${CMAKE_INSTALL_PREFIX}/CBLAS/libblas.a) +- endif() ++ message( FATAL_ERROR "Could not find BLAS, refusing to use internal copy" ) + endif() + + ###################################################################### |