[silo-llnl] 12/21: Need to set PYTHON_CPPFLAGS to build python3 version

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Jul 28 11:55:36 UTC 2017


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

mckinstry pushed a commit to branch debian/master
in repository silo-llnl.

commit f5a05062a1eb3e992ddfd21a05edfabbc7ad1058
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Fri Aug 5 01:47:54 2016 +0100

    Need to set PYTHON_CPPFLAGS to build python3 version
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 51f7458..01f01cf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -71,7 +71,7 @@ override_dh_auto_build:
 		$(MAKE) -C $$d CC=$(CC) CXX=$(CXX) ; done
 	$(MAKE) -C tools/silex CXX=$(CXX) QT_MOC=moc QT_LIBS="$(QT_LIBS)" 
 	set -e ; for p in $(PYVERS) $(PY3VERS) ; do   \
-		$(MAKE) -C tools/python clean all check CC=$(CC) CXX=$(CXX) PYTHON=$$p; \
+		$(MAKE) -C tools/python clean all PYTHON=$$p PYTHON_CPPFLAGS="-I/usr/include/$(PYTHON)" ; \
 		mkdir -p  debian/tmp/usr/lib/pyshared/$$p ;  \
 		cp tools/python/.libs/Silo.so debian/Silo.so.$$p  ; \
 	done

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



More information about the debian-science-commits mailing list