summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/boost/boost.inc
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2016-02-24 18:30:21 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-28 11:33:03 +0000
commit4d1c14ff908480b47b67574e472e30c12d1e3f59 (patch)
treedd20a8b7f7e2d5e1e4b61f371b319ddeb7ff1458 /meta/recipes-support/boost/boost.inc
parent7f84ad03b872f9228080a6f185926f5670536a49 (diff)
downloadpoky-4d1c14ff908480b47b67574e472e30c12d1e3f59.tar.gz
boost.inc: enable more verbose build logs
The default build output is very terse. Add -d+2 (ie "Show commands as they are executed") to BJAM_OPTS to make the do_compile logs more informative. Also add -q (ie "Stop at first error") to BJAM_OPTS and fix typo in comments. (From OE-Core rev: 74c28b2719f0e1723c5ee0f885955412ea229a73) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/boost/boost.inc')
-rw-r--r--meta/recipes-support/boost/boost.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc
index 79c4e6396a..c55221ff1b 100644
--- a/meta/recipes-support/boost/boost.inc
+++ b/meta/recipes-support/boost/boost.inc
@@ -115,7 +115,7 @@ BJAM_TOOLS = "--ignore-site-config \
115 '--layout=system' \ 115 '--layout=system' \
116 " 116 "
117 117
118# use PARALLEL_MAKE to speed up the build, but limit it by -j 64, greater paralelism causes bjam to segfault or to ignore -j 118# use PARALLEL_MAKE to speed up the build, but limit it by -j 64, greater parallelism causes bjam to segfault or to ignore -j
119# https://svn.boost.org/trac/boost/ticket/7634 119# https://svn.boost.org/trac/boost/ticket/7634
120def get_boost_parallel_make(d): 120def get_boost_parallel_make(d):
121 pm = d.getVar('PARALLEL_MAKE', True) 121 pm = d.getVar('PARALLEL_MAKE', True)
@@ -140,7 +140,7 @@ def get_boost_parallel_make(d):
140 return "" 140 return ""
141 141
142BOOST_PARALLEL_MAKE = "${@get_boost_parallel_make(d)}" 142BOOST_PARALLEL_MAKE = "${@get_boost_parallel_make(d)}"
143BJAM_OPTS = '${BOOST_PARALLEL_MAKE} \ 143BJAM_OPTS = '${BOOST_PARALLEL_MAKE} -d+2 -q \
144 ${BJAM_TOOLS} \ 144 ${BJAM_TOOLS} \
145 -sBOOST_BUILD_USER_CONFIG=${S}/tools/build/example/user-config.jam \ 145 -sBOOST_BUILD_USER_CONFIG=${S}/tools/build/example/user-config.jam \
146 --builddir=${S}/${TARGET_SYS} \ 146 --builddir=${S}/${TARGET_SYS} \