From 4ab132a20d33e70cf6736737c59d2c0ce2f79298 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 19 Jan 2015 14:14:19 -0800 Subject: dev-manual, ref-manual, yocto-project-qs: Updates to parallelism variables The way the old manual set had worded the use of the BB_NUMBER_THREADS, PARALLEL_MAKE, and BB_NUMBER_PARSE_THREADS had become depricated. It suggested a lot of user intervention to get these variables set to have the build system utilize optimal parallelism. The change a while back to the build system where the variables are set to the number of build host cores now makes the variables automatically be set to their best values. I have gone through the manual set and changed wordings appropriately to reflect this. Reported-by: Robert P. J. Day (From yocto-docs rev: 3a27b1792c92a2f22173315e2732f672cdad2c78) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../yocto-project-qs/yocto-project-qs.xml | 30 +++++++++------------- 1 file changed, 12 insertions(+), 18 deletions(-) (limited to 'documentation/yocto-project-qs/yocto-project-qs.xml') diff --git a/documentation/yocto-project-qs/yocto-project-qs.xml b/documentation/yocto-project-qs/yocto-project-qs.xml index 8fe9b766e6..f21558ebbd 100644 --- a/documentation/yocto-project-qs/yocto-project-qs.xml +++ b/documentation/yocto-project-qs/yocto-project-qs.xml @@ -509,15 +509,17 @@ - Another couple of variables of interest are the - BB_NUMBER_THREADS and the - PARALLEL_MAKE variables. - By default, these variables are set to the number of processor - cores your build host uses. - However, if your build host uses multiple processor cores, - you should increase these settings to twice the number of - cores used. - Doing so can significantly shorten your build time. + Another three variables of interest are the + BB_NUMBER_THREADS, + PARALLEL_MAKE, + and + BB_NUMBER_PARSE_THREADS + variables. + By default, these variables are optimally set based on the + number of processor cores your build host uses. + Although it is possible to override these variables, the + default values the OpenEmbedded build system derives provide you + with parallelism during the build. @@ -898,18 +900,10 @@ conf/local.conf configuration file in the Build Directory. You need to manually edit this file to specify the machine you - are building and to optimize your build time. - Here are the minimal changes to make: + are building: - BB_NUMBER_THREADS = "8" - PARALLEL_MAKE = "-j 8" MACHINE ?= "beaglebone" - Briefly, set - BB_NUMBER_THREADS - and - PARALLEL_MAKE to - twice your host processor's number of cores. -- cgit v1.2.3-54-g00ecf