[adios] 21/207: Cope with LAM
Alastair McKinstry
mckinstry at moszumanska.debian.org
Fri Jun 12 06:04:26 UTC 2015
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to branch master
in repository adios.
commit df7771ce71e0899066f4f0ee52419b0113511619
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Mon Aug 15 13:02:44 2011 +0100
Cope with LAM
---
debian/rules | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index aa523af..845ac0b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,13 @@
#export DH_VERBOSE=1
+# Cope with lam not providing mpicc.
+. /usr/share/mpi-default-dev/debian_defaults
+ifeq ($(ARCH_DEFAULT_MPI_IMPL),lam)
+ CC:=gcc
+else
+ CC:=mpicc
+endif
ARCH:=$(shell dpkg --print-architecture)
WITH_LUSTRE :=
@@ -29,7 +36,7 @@ override_dh_auto_clean:
find . -name '*.pyc' -delete
override_dh_auto_configure:
- dh_auto_configure -- $(WITH_LUSTRE) --enable-shared --prefix=`pwd`/debian/tmp MPIFC=mpif77 CC=mpicc
+ dh_auto_configure -- $(WITH_LUSTRE) --enable-shared --prefix=`pwd`/debian/tmp MPIFC=mpif77 CC=$(CC)
override_dh_auto_install:
$(MAKE) install prefix=$(shell pwd)/debian/libadios-dev/usr
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/adios.git
More information about the debian-science-commits
mailing list