diff mbox

boost: add an option to run cmds in parallel

Message ID 1334737186-30736-1-git-send-email-yegorslists@googlemail.com
State Accepted
Commit bb0efa0ed4055e95fdf9791a71c7267e90099455
Headers show

Commit Message

Yegor Yefremov April 18, 2012, 8:19 a.m. UTC
From: Yegor Yefremov <yegorslists@googlemail.com>

Add the same -jN parameter as used for make.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 package/boost/boost.mk |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Comments

Peter Korsgaard May 1, 2012, 7:57 p.m. UTC | #1
>>>>> "yegorslists" == yegorslists  <yegorslists@googlemail.com> writes:

 yegorslists> From: Yegor Yefremov <yegorslists@googlemail.com>
 yegorslists> Add the same -jN parameter as used for make.

Committed, thanks.
diff mbox

Patch

diff --git a/package/boost/boost.mk b/package/boost/boost.mk
index 9da427a..3667964 100644
--- a/package/boost/boost.mk
+++ b/package/boost/boost.mk
@@ -70,7 +70,7 @@  define BOOST_CONFIGURE_CMDS
 endef
 
 define BOOST_INSTALL_TARGET_CMDS
-	(cd $(@D) && ./b2 -q -d+2 \
+	(cd $(@D) && ./b2 -j$(BR2_JLEVEL) -q -d+2 \
 	--user-config=$(@D)/user-config.jam \
 	$(BOOST_OPT) \
 	--prefix=$(TARGET_DIR)/usr \
@@ -78,7 +78,7 @@  define BOOST_INSTALL_TARGET_CMDS
 endef
 
 define BOOST_INSTALL_STAGING_CMDS
-	(cd $(@D) && ./bjam -d+2 \
+	(cd $(@D) && ./bjam -j$(BR2_JLEVEL) -d+2 \
 	--user-config=$(@D)/user-config.jam \
 	$(BOOST_OPT) \
 	--prefix=$(STAGING_DIR)/usr \