[SCM] mixxx/master: Really support parallel builds

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Tue Jan 26 18:14:50 UTC 2016


The following commit has been merged in the master branch:
commit 3ee7a067e7bfaeae55a9a8a89b766afa9fb78c15
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Tue Jan 26 19:13:03 2016 +0100

    Really support parallel builds

diff --git a/debian/rules b/debian/rules
index 1a5a3d1..f9c5671 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,6 +33,11 @@ SCONS_OPTS += buildtime=0
 ifeq (,$(filter-out armel armhf,$(DEB_HOST_ARCH)))
 SCONS_OPTS += opengles=1
 endif
+# parallel builds for scons
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+SCONS_OPTS += -j$(NUMJOBS)
+endif
 
 %:
 	dh $@ --parallel --with=scour,autotools_dev

-- 
mixxx packaging



More information about the pkg-multimedia-commits mailing list