[adios] 97/207: test cmake in wrappers dir
Alastair McKinstry
mckinstry at moszumanska.debian.org
Fri Jun 12 06:04:43 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 a66625a7d50813bdb6249303911a0669a6a74596
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Mon May 19 10:14:30 2014 +0100
test cmake in wrappers dir
---
debian/rules | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/debian/rules b/debian/rules
index 4703ab2..8593a2e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -44,6 +44,7 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
LIBDIR:=/usr/lib/$(DEB_HOST_MULTIARCH)
BINDIR:=$(DESTDIR)/usr/bin
+TOP:=(shell pwd)
# magic debhelper rule
%:
@@ -52,10 +53,17 @@ BINDIR:=$(DESTDIR)/usr/bin
override_dh_auto_clean:
dh_clean
find . -name '*.pyc' -delete
+ rm -r wrappers/numpy/build wrappers/java/build
override_dh_auto_configure:
dh_auto_configure -- $(WITH_LUSTRE) --enable-shared --prefix=$(DESTDIR) MPIFC=mpif77 CC=$(CC)
+override_dh_auto_build:
+ dh_auto_build
+ # Now build Python wrapper
+ mkdir -p wrappers/numpy/build
+ ( cd wrappers/numpy/build && PATH=$(TOP):$(PATH) cmake .. && $(MAKE) VERBOSE=1 )
+
override_dh_auto_install:
find . -name .gitignore -delete
$(MAKE) install prefix=$(DESTDIR)/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