[aster] 01/03: Append PETSc include path to C/F/FCFLAGS

Graham Inggs ginggs at moszumanska.debian.org
Thu Jan 28 15:25:04 UTC 2016


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

ginggs pushed a commit to branch master
in repository aster.

commit f2c1980b711931c053e9ccfcc297bae59567bebe
Author: Graham Inggs <ginggs at debian.org>
Date:   Thu Jan 28 13:43:10 2016 +0200

    Append PETSc include path to C/F/FCFLAGS
---
 debian/changelog | 8 +++++++-
 debian/rules     | 3 +++
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index eb92d60..5f19941 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,16 @@
 aster (11.5.0+dfsg2-4) UNRELEASED; urgency=low
 
+  * Team upload.
+
   [ Florent Cayré ]
   * Add a patch to set the default renumbering algorithm to MD instead of
     METIS.
 
- -- Denis Laxalde <denis.laxalde at logilab.fr>  Fri, 17 Oct 2014 11:08:18 +0200
+  [ Graham Inggs ]
+  * Fix build with PETSc >= 3.6 (Closes: #805193):
+    - Append PETSc include path to C/F/FCFLAGS.
+
+ -- Graham Inggs <ginggs at debian.org>  Thu, 28 Jan 2016 13:34:13 +0200
 
 aster (11.5.0+dfsg2-3) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 8f62d01..4c24f52 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,6 +12,9 @@ include /usr/share/mpi-default-dev/debian_defaults
 ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/$(ARCH_DEFAULT_MPI_IMPL)/libhdf5.so),)
   export DEB_CPPFLAGS_MAINT_APPEND := -I/usr/include/hdf5/$(ARCH_DEFAULT_MPI_IMPL)
   export DEB_LDFLAGS_MAINT_APPEND := -Wl,-L/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/$(ARCH_DEFAULT_MPI_IMPL)
+  export DEB_CFLAGS_MAINT_APPEND := -I/usr/lib/petsc/include/petsc
+  export DEB_FFLAGS_MAINT_APPEND := -I/usr/lib/petsc/include/petsc
+  export DEB_FCFLAGS_MAINT_APPEND := -I/usr/lib/petsc/include/petsc
 endif
 
 %:

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



More information about the debian-science-commits mailing list