[petsc] 04/07: build with valgrind support

Drew Parsons dparsons at moszumanska.debian.org
Thu Oct 1 18:32:29 UTC 2015


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

dparsons pushed a commit to branch master
in repository petsc.

commit 0eeb4acea95b205c869fe56828094472aeb4326f
Author: Drew Parsons <dparsons at debian.org>
Date:   Thu Oct 1 20:04:31 2015 +0800

    build with valgrind support
    
    Use of valgrind is HIGHLY recommended by upstream.
    
    Use pkg-config to configure it.
---
 debian/control | 6 ++++--
 debian/rules   | 1 +
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 8430bdf..ab0dd35 100644
--- a/debian/control
+++ b/debian/control
@@ -4,14 +4,16 @@ Priority: extra
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: "Adam C. Powell, IV" <hazelsct at debian.org>, Drew Parsons <dparsons at debian.org>
 Standards-Version: 3.9.5
-Build-Depends: debhelper (>= 9), quilt, python (>= 2.2), gfortran, autotools-dev,
+Build-Depends: debhelper (>= 9), quilt, python (>= 2.2), gfortran, 
+ autotools-dev, pkg-config,
  mpi-default-dev (>= 1.0.2),
  libblas-dev, liblapack-dev,
  libsuitesparse-dev (>= 1:4.2.1),
  libspooles-dev (>= 2.2-6), libhypre-dev (>= 2.4.0), libptscotch-dev,
  libhdf5-mpi-dev (>= 1.8.8),
  libblacs-mpi-dev, libscalapack-mpi-dev, libmumps-dev,
- libfftw3-dev, libfftw3-mpi-dev, libssl-dev
+ libfftw3-dev, libfftw3-mpi-dev, libssl-dev,
+ valgrind-mpi
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/petsc.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/petsc.git
 Homepage: http://www.mcs.anl.gov/petsc
diff --git a/debian/rules b/debian/rules
index 7fe96a8..be13747 100755
--- a/debian/rules
+++ b/debian/rules
@@ -86,6 +86,7 @@ CONFIGURATION_OPTIONS=--with-shared-libraries \
 	  --with-ptscotch-lib=[/usr/lib/libptesmumps.so,/usr/lib/libptscotch.so,/usr/lib/libptscotcherr.so] \
 	  --with-fftw=1 --with-fftw-include=/usr/include \
 	  --with-fftw-lib=[/usr/lib/$(DEB_HOST_MULTIARCH)/libfftw3.so,/usr/lib/$(DEB_HOST_MULTIARCH)/libfftw3_mpi.so] \
+	  --with-valgrind=1 --with-valgrind-pkg-config=/usr/lib/pkgconfig \
 	  $(PETSC_HDF5_FLAGS) --CXX_LINKER_FLAGS="-Wl,--no-as-needed" 
 
 

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



More information about the debian-science-commits mailing list