[gmsh] 04/05: Reenable petsc/slepc.

Anton Gladky gladk at alioth.debian.org
Sun Sep 29 12:37:55 UTC 2013


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

gladk pushed a commit to branch master
in repository gmsh.

commit f806902590205756be78c78a562a29019fe74ed2
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Sun Sep 29 10:08:05 2013 +0200

    Reenable petsc/slepc.
---
 debian/control |    2 ++
 debian/rules   |    5 +++++
 2 files changed, 7 insertions(+)

diff --git a/debian/control b/debian/control
index 8653bf3..4fd4d54 100644
--- a/debian/control
+++ b/debian/control
@@ -17,6 +17,8 @@ Build-Depends: debhelper (>= 9), cmake, gfortran, libgl1-mesa-dev,
  libblas-dev, liblapack-dev, libgl2ps-dev, freeglut3-dev,
  python-dev (>= 2.6.6-3~), swig2.0,
  chrpath, libann-dev,
+ libpetsc3.4.2-dev [!kfreebsd-amd64 !kfreebsd-i386 !armel !armhf !s390x !powerpcspe],
+ libslepc3.4.2-dev [!kfreebsd-amd64 !kfreebsd-i386 !armel !armhf !s390x !powerpcspe],
  javahelper, default-jdk
 Standards-Version: 3.9.4
 X-Python-Version: current
diff --git a/debian/rules b/debian/rules
index 0c4aeff..47f3ca7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,6 +41,11 @@ else
 	-DENABLE_MPI:BOOL=OFF
 endif
 
+# PETSC_DIR is the location of PETSc.
+export PETSC_DIR=/usr/lib/petscdir/3.4.2
+export PETSC_ARCH=linux-gnu-c-opt
+export SLEPC_DIR=/usr/lib/slepcdir/3.4.2
+
 override_dh_auto_clean:
 	rm -rf $(BUILDDIR)
 	rm -rf $(CURDIR)/debian/tmp

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



More information about the debian-science-commits mailing list