[sundials] 01/01: better libpetsc dep, building with libhypre

Dima Kogan dima at secretsauce.net
Sat Feb 11 08:38:29 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkogan pushed a commit to branch master_optional_stuff_enabled
in repository sundials.

commit 2ec9e131cd959005ef48cdd9ffa675fae1012e6f
Author: Dima Kogan <dima at secretsauce.net>
Date:   Sat Feb 11 00:35:51 2017 -0800

    better libpetsc dep, building with libhypre
---
 debian/control | 2 +-
 debian/rules   | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 8c19d7b..9ef34eb 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Build-Depends: debhelper (>= 10),
                mpi-default-dev,
                libblas-dev | libblas-3gf.so,
                liblapack-dev | liblapack-3gf.so,
-               libpetsc3.7.5-dev, libsuitesparse-dev
+               libpetsc3.7-dev, libsuitesparse-dev, libhypre-dev
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/sundials.git
 Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/sundials.git
diff --git a/debian/rules b/debian/rules
index 9ea75e2..9a5ad1f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,8 +34,10 @@ extra_flags +=						\
    -DPETSC_LIBRARY_DIR=/usr/lib/$(DEB_HOST_GNU_TYPE)	\
                                                         \
    -DSUPERLUMT_ENABLE:BOOL=OFF				\
-   -DHYPRE_ENABLE:BOOL=OFF
-
+                                                        \
+   -DHYPRE_ENABLE:BOOL=ON                               \
+   -DHYPRE_INCLUDE_DIR=/usr/include/hypre               \
+   -DHYPRE_LIBRARY='-lHYPRE -lHYPRE_IJ_mv -lHYPRE_utilities -lHYPRE_parcsr_mv'
 
 BUILDDIR = $(CURDIR)/debian/build
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sundials.git



More information about the debian-science-commits mailing list