Skip to contentSkip to conversation

boost: add an option to run cmds in parallel

PATCH New yegorslists at googlemail.com 2 participants 2 messages Apr 18, 2012 – May 1, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 boost: add an option to run cmds in parallel

From: Yegor Yefremov <[email protected]>

Add the same -jN parameter as used for make.

---
 package/boost/boost.mk |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
package/boost/boost.mk +2 -2
index 9da427a..3667964 100644
@@ -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 \
Signature · 1 line
1.7.7
#1 lore raw

PATCH 1/1 boost: add an option to run cmds in parallel

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"yegorslists" == yegorslists <[email protected]> writes:

yegorslists> From: Yegor Yefremov <[email protected]> yegorslists> Add the same -jN parameter as used for make.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard