[adios] 99/207: Prep cache
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 580a0bf917e0bd1dc3415dce276e7adbb7a37799
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Mon May 19 10:31:43 2014 +0100
Prep cache
---
debian/rules | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 1f6fbb8..34f682d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -57,11 +57,16 @@ override_dh_auto_clean:
override_dh_auto_configure:
dh_auto_configure -- $(WITH_LUSTRE) --enable-shared --prefix=$(DESTDIR) MPIFC=mpif77 CC=$(CC)
+ # Prep python wrapper. Cache these for cmake otherwise it will get 2.7, 3.* confused
+ mkdir -p wrappers/numpy/build
+ echo "PYTHON_EXECUTABLE:FILEPATH=/usr/bin/python" > wrappers/numpy/build/CMakeCache.txt
+ echo "PYTHON_INCLUDE_DIR:PATH=/usr/include/python2.7" >> wrappers/numpy/build/CMakeCache.txt
+ echo "PYTHON_INCLUDE_DIR2:PATH=/usr/include/x86_64-linux-gnu/python2.7" >> wrappers/numpy/build/CMakeCache.txt
+ echo "PYTHON_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpython2.7.so" >> wrappers/numpy/build/CMakeCache.txt
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:
--
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