Skip to contentSkip to conversation

boost.inc: enable more verbose build logs

PATCH New Andre McCurdy 1 participant 1 message Feb 25, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/recipes-support/boost/boost.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-support/boost/boost.inc +2 -2
index 79c4e63..c55221f 100644
@@ -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} \
Signature · 1 line
1.9.1