hypre: add a modified superlu-dist patch for @:2.14.0 (#11032)

This commit is contained in:
Satish Balay 2019-03-28 14:57:51 -05:00 committed by GitHub
parent a6511fbafc
commit 06e82edf15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 1 deletions

View file

@ -52,7 +52,8 @@ class Hypre(Package):
# Patch to build shared libraries on Darwin
patch('darwin-shared-libs-for-hypre-2.13.0.patch', when='+shared@2.13.0 platform=darwin')
patch('darwin-shared-libs-for-hypre-2.14.0.patch', when='+shared@2.14.0 platform=darwin')
patch('superlu-dist-link.patch')
patch('superlu-dist-link-2.15.0.patch', when='+superlu-dist @2.15:')
patch('superlu-dist-link-2.14.0.patch', when='+superlu-dist @:2.14.0')
depends_on("mpi", when='+mpi')
depends_on("blas")

View file

@ -0,0 +1,13 @@
diff --git a/src/lib/Makefile b/src/lib/Makefile
index 72875e2..3edc564 100644
--- a/src/lib/Makefile
+++ b/src/lib/Makefile
@@ -58,7 +58,7 @@ $(BLASFILES)\
$(LAPACKFILES)
SONAME = libHYPRE-${HYPRE_RELEASE_VERSION}.so
-SOLIBS = ${MPILIBDIRS} ${MPILIBS} ${LAPACKLIBDIRS} ${LAPACKLIBS}\
+SOLIBS = ${DSUPERLU_LIBS} ${MPILIBDIRS} ${MPILIBS} ${LAPACKLIBDIRS} ${LAPACKLIBS}\
${BLASLIBDIRS} ${BLASLIBS} ${LIBS} ${FLIBS}