The following commit has been merged in the master branch:
commit 84b1a93d3cab679c9c28409080e2ddcbe053ce93
Author: Anton Gladky <[email protected]>
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.

_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to