summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorSamuel Stirtzel <s.stirtzel@googlemail.com>2013-01-10 11:35:47 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-10 23:49:40 +0000
commitc8e7c30041879d97f7691e4b2f6ad91b150cf150 (patch)
tree7d5c15b9e8827f63bb6ed9c0e4c80dd63588fa25 /meta
parentd777af8425b24862fd758b0e0f85e02687fe439c (diff)
downloadpoky-c8e7c30041879d97f7691e4b2f6ad91b150cf150.tar.gz
boost: Use PARALLEL_MAKE for bjam
Like make, bjam accepts the parameter -jX for multithreaded execution do_install also profits from this setting Tested with a quad core 64bit intel cpu (with hyperthreading) PARALLEL_MAKE="j16" $ time bitbake boost before: real 14m37.433s user 7m40.785s sys 4m30.109s after: real 7m11.979s user 12m10.694s sys 2m47.078s Also fixes tab indention (From OE-Core rev: 9b9cfc1dfe5e3b8f89b7a8508537166d0f23935e) Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/boost/boost.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc
index 830fcb0568..4fe5a354de 100644
--- a/meta/recipes-support/boost/boost.inc
+++ b/meta/recipes-support/boost/boost.inc
@@ -120,10 +120,12 @@ BJAM_TOOLS = "-sTOOLS=gcc \
120 '--layout=system' \ 120 '--layout=system' \
121 " 121 "
122 122
123BJAM_OPTS = '${BJAM_TOOLS} \ 123#use PARALLEL_MAKE to speed up the build
124 -sBOOST_BUILD_USER_CONFIG=${S}/tools/build/v2/user-config.jam \ 124BJAM_OPTS = '${PARALLEL_MAKE} \
125 ${BJAM_TOOLS} \
126 -sBOOST_BUILD_USER_CONFIG=${S}/tools/build/v2/user-config.jam \
125 --builddir=${S}/${TARGET_SYS} \ 127 --builddir=${S}/${TARGET_SYS} \
126 --disable-icu \ 128 --disable-icu \
127 ${BJAM_EXTRA}' 129 ${BJAM_EXTRA}'
128 130
129 131