← Back to team overview

yade-dev team mailing list archive

[SCM] Yet Another Dynamic Engine. Platform for discrete element modeling. branch, master, updated. debian/0.90.3-1_exp1-14-g239acd3

 

The following commit has been merged in the master branch:
commit 84b1a93d3cab679c9c28409080e2ddcbe053ce93
Author: Anton Gladky <gladky.anton@xxxxxxxxx>
Date:   Tue May 14 22:17:11 2013 +0200

    Enable parallel build on some archs. (Closes: #704046)

diff --git a/debian/rules b/debian/rules
index 85150f9..8961832 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,8 +3,14 @@ BUILDDIR = $(CURDIR)/debian/build
 tmpInstall = $(CURDIR)/debian/tmp
 tmpDirMatplotLib = $(CURDIR)/debian/matplotlib
 
+parallelbuild_archs = amd64 i386 kfreebsd-amd64 kfreebsd-i386 powerpc 
+parallel_flag = --parallel
+ifeq (,$(filter $(DEB_HOST_ARCH),$(parallelbuild_archs)))
+	parallel_flag=
+endif
+
 %:
-	dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR)
+	dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) $(parallel_flag)
 
 export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

-- 
Yet Another Dynamic Engine. Platform for discrete element modeling.