[SCM] OCE packaging branch, debian, updated. debian/0.10-2-5-ge059424

Denis Barbier bouzim at gmail.com
Sun Aug 5 10:24:58 UTC 2012


The following commit has been merged in the debian branch:
commit 3808ddd8e0a0711c55090a81835abbcc08c0e27d
Author: Denis Barbier <bouzim at gmail.com>
Date:   Sun Aug 5 09:44:25 2012 +0200

    Force parallel build
    
    It can still be disabled by setting DEB_BUILD_OPTIONS=parallel=1.

diff --git a/debian/rules b/debian/rules
index 5ffa0d7..0ec6707 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,10 @@ LDFLAGS  := $(shell dpkg-buildflags --get LDFLAGS)
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
+ifeq ($(findstring parallel=,$(DEB_BUILD_OPTIONS)),)
+	export DEB_BUILD_OPTIONS+=parallel=$(shell getconf _NPROCESSORS_ONLN)
+endif
+
 %:
 	dh $@ --buildsystem=cmake --parallel --with quilt
 

-- 
OCE packaging



More information about the debian-science-commits mailing list