[adios] 106/207: Build shared first

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Jun 12 06:04:44 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 bdce54f8a9a37f84ec80bded895f119dd2eab9f7
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Mon May 19 13:26:07 2014 +0100

    Build shared first
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index c3347b6..257b31c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -70,9 +70,11 @@ override_dh_auto_configure:
 	echo "ADIOS_COMPILE_FLAGS:STRING=-fPIC " >> wrappers/numpy/build/CMakeCache.txt
 
 override_dh_auto_build:
-	dh_auto_build
+	# First do a build shared, with -fPIC
+	$(MAKE) -C src CFLAGS='-fPIC' VERBOSE=1
 	# Now build Python wrapper
 	( cd wrappers/numpy/build && PATH=$(TOP):$(PATH) cmake .. && $(MAKE) VERBOSE=1 )
+	dh_auto_build
 	
 override_dh_auto_install:
 	find . -name .gitignore -delete

-- 
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