diff options
author | Sam James <sam@gentoo.org> | 2020-11-06 21:11:43 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-11-06 21:17:53 +0000 |
commit | 1414edd35cc4a15e8db0612267f5fbc3b9a810f2 (patch) | |
tree | a3c510d694d827cc1b3ec5d302c3f7f4c0461f2f /sci-libs/superlu/files | |
parent | net-dialup/freeradius: Support alternate log path in initscript (diff) | |
download | gentoo-1414edd35cc4a15e8db0612267f5fbc3b9a810f2.tar.gz gentoo-1414edd35cc4a15e8db0612267f5fbc3b9a810f2.tar.bz2 gentoo-1414edd35cc4a15e8db0612267f5fbc3b9a810f2.zip |
sci-libs/superlu: bump to 5.2.2
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
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() + + ###################################################################### |