]> code.ossystems Code Review - openembedded-core.git/commitdiff
boost.inc: enable more verbose build logs
authorAndre McCurdy <armccurdy@gmail.com>
Thu, 25 Feb 2016 02:30:21 +0000 (18:30 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 11:32:38 +0000 (11:32 +0000)
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.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-support/boost/boost.inc

index 79c4e6396a2bc3cd4c91c389251ac9eed3f1c954..c55221ff1b80a6570fbebe28f00b64a165fdd5bb 100644 (file)
@@ -115,7 +115,7 @@ BJAM_TOOLS   = "--ignore-site-config \
                '--layout=system' \
                "
 
-# use PARALLEL_MAKE to speed up the build, but limit it by -j 64, greater paralelism causes bjam to segfault or to ignore -j
+# use PARALLEL_MAKE to speed up the build, but limit it by -j 64, greater parallelism causes bjam to segfault or to ignore -j
 # https://svn.boost.org/trac/boost/ticket/7634
 def get_boost_parallel_make(d):
     pm = d.getVar('PARALLEL_MAKE', True)
@@ -140,7 +140,7 @@ def get_boost_parallel_make(d):
     return ""
 
 BOOST_PARALLEL_MAKE = "${@get_boost_parallel_make(d)}"
-BJAM_OPTS    = '${BOOST_PARALLEL_MAKE} \
+BJAM_OPTS    = '${BOOST_PARALLEL_MAKE} -d+2 -q \
                ${BJAM_TOOLS} \
                -sBOOST_BUILD_USER_CONFIG=${S}/tools/build/example/user-config.jam \
                --builddir=${S}/${TARGET_SYS} \