hypre: add a modified superlu-dist patch for @:2.14.0 (#11032)
This commit is contained in:
parent
a6511fbafc
commit
06e82edf15
3 changed files with 15 additions and 1 deletions
|
@ -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")
|
||||
|
|
|
@ -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}
|
||||
|
||||
|
Loading…
Reference in a new issue