[yade] 02/05: Do not use parallel build on kfreebsd-amd64 and s390x.

Anton Gladky gladk at moszumanska.debian.org
Thu Aug 7 18:51:44 UTC 2014


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

gladk pushed a commit to branch master
in repository yade.

commit a3055e0580108ab0819f601956fb0ce2d4d2cb2e
Author: Anton Gladky <gladk at debian.org>
Date:   Mon Aug 4 19:32:13 2014 +0200

    Do not use parallel build on kfreebsd-amd64 and s390x.
---
 debian/rules | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 6eb0931..f02f55a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,8 +3,15 @@ BUILDDIR = $(CURDIR)/debian/build
 tmpInstall = $(CURDIR)/debian/tmp
 tmpDirMatplotLib = $(CURDIR)/debian/matplotlib
 
+noparallelbuild_archs = kfreebsd-amd64 s390x
+parallel_flag = --parallel
+
+ifneq (,$(filter $(DEB_HOST_ARCH),$(noparallelbuild_archs)))
+	parallel_flag=
+endif
+
 %:
-	dh $@ --builddirectory=$(BUILDDIR) --with python2 --parallel
+	dh $@ --builddirectory=$(BUILDDIR) --with python2 $(parallel_flag)
 
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed,-no-keep-memory
 

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



More information about the debian-science-commits mailing list