[getdp] 39/60: up

Matteo F. Vescovi mfv at moszumanska.debian.org
Thu Feb 11 10:12:36 UTC 2016


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

mfv pushed a commit to branch master
in repository getdp.

commit 55dd3c38d9b5fc4dc423002638deb4c418f1d859
Author: Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
Date:   Mon Mar 11 14:02:17 2013 +0000

    up
---
 debian/rules | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index c4799ae..13cba4a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,20 +4,19 @@ BUILDDIR = $(CURDIR)/debian/build
 DEB_STRIPPED_UPSTREAM_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed -n -e 's/\.dfsg.*$$//p')
 
 # PETSC_DIR is the location of PETSc.
-export PETSC_DIR=/usr/lib/petscdir/3.2
 export SLEPC_DIR=/usr/lib/slepcdir/3.2
+export PETSC_DIR=/usr/lib/petscdir/3.2
 
 # Fix FTBS on armhf
-ifneq ("", findstring("$(DEB_HOST_ARCH)", "armel armhf"))
+export PETSC_ARCH=linux-gnu-c-opt
 ifeq ("armhf", "$(DEB_HOST_ARCH)")
 export PETSC_ARCH=linux-gnueabihf-c-opt
 endif
 ifeq ("armel", "$(DEB_HOST_ARCH)")
 export PETSC_ARCH=linux-gnueabi-c-opt
 endif
-else
-export PETSC_ARCH=linux-gnu-c-opt
-endif
+
+echo "PETSC_ARCH=" $PETSC_ARCH
 
 %:
 	dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) --parallel

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



More information about the debian-science-commits mailing list