[libgpuarray] 02/04: Build extension modules before the docs

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Jul 25 23:14:19 UTC 2017


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

ghisvail-guest pushed a commit to branch master
in repository libgpuarray.

commit 30fa977d8d907e0a51df9e9847854e73ec81b54e
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Jul 25 20:32:22 2017 +0100

    Build extension modules before the docs
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index b48c097..bdaca00 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,7 @@ override_dh_auto_clean-arch:
 
 override_dh_auto_clean-indep:
 ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
+	find $(CURDIR) -type f -name ".so" -delete
 	$(MAKE) -C doc clean
 endif
 
@@ -32,6 +33,7 @@ override_dh_auto_build-indep: export http_proxy=127.0.0.1:9
 override_dh_auto_build-indep: export https_proxy=127.0.0.1:9
 override_dh_auto_build-indep:
 ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
+	python3 setup.py build_ext --inplace -I $(CURDIR)/src -L $(CURDIR)/lib
 	PYTHONPATH=$(CURDIR) $(MAKE) -C doc html
 endif
 

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



More information about the debian-science-commits mailing list