[eigen3] 01/03: Fix defining the number of cores (-j). (Closes: #784269)

Anton Gladky gladk at moszumanska.debian.org
Mon May 4 22:14:35 UTC 2015


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

gladk pushed a commit to branch master
in repository eigen3.

commit 043cc4f84d9e7e0a85a90ee9460630b71da7b312
Author: Anton Gladky <gladk at debian.org>
Date:   Mon May 4 22:01:36 2015 +0200

    Fix defining the number of cores (-j). (Closes: #784269)
---
 debian/rules | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 38b548a..32bb804 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,11 @@ BUILDDIR = $(CURDIR)/debian/build
 	dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) --parallel
 
 export DEB_BUILD_MAINT_OPTIONS := hardening=+all
-export NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+	export NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+else
+	NUMJOBS=1
+endif
 
 sse_archs = amd64 i386 kfreebsd-amd64 kfreebsd-i386
 

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



More information about the debian-science-commits mailing list