[Pkg-mongodb-maintainers] [pkg-mongodb] 192/394: Allow parallel build, patch courtesy of Andre Ferraz <deferraz at terra.com.br> (Closes:#646759)

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Wed Sep 21 13:58:52 UTC 2016


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

apoikos pushed a commit to branch master
in repository pkg-mongodb.

commit 8da59cfea929c62213d7c87f17304e6f5c85230c
Author: Antonin Kral <a.kral at bobek.cz>
Date:   Thu Feb 16 10:23:58 2012 +0100

    Allow parallel build, patch courtesy of Andre Ferraz <deferraz at terra.com.br> (Closes:#646759)
---
 debian/changelog | 7 +++++++
 debian/rules     | 4 ++++
 2 files changed, 11 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 4bad3f5..fac74fa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+mongodb (1:2.0.2-5) unstable; urgency=low
+
+  * Allow parallel build, patch courtesy of Andre Ferraz
+    <deferraz at terra.com.br> (Closes:#646759)
+
+ -- Antonin Kral <A.Kral at sh.cvut.cz>  Thu, 16 Feb 2012 10:25:06 +0100
+
 mongodb (1:2.0.2-4) unstable; urgency=low
 
   * Move socket from /tmp to /var/run/mongodb (Closes: #658177)
diff --git a/debian/rules b/debian/rules
index b45d63b..eac3e21 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,10 @@ endif
 ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 	DEB_SCONS_OPTIONS := --d=DEBUGBUILD
 endif
+ifneq (,$(findstring parallel,$(DEB_BUILD_OPTIONS)))
+       PROCS=$(subst parallel=,,$(DEB_BUILD_OPTIONS))
+       DEB_SCONS_OPTIONS := -j$(PROCS)
+endif
 
 DEB_SCONS_BUILD_TARGET = all
 DEB_SCONS_INSTALL_OPTIONS += --prefix=$(CURDIR)/debian/tmp/usr --full

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mongodb/pkg-mongodb.git



More information about the Pkg-mongodb-maintainers mailing list