From ef627f855d5409051567ddbf3cba7d9be1ab4979 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 21 Mar 2014 06:38:21 -0600 Subject: yocto-project-qs, ref-manual: Fixed core number defaults Fixes [YOCTO #2528] The defaults for BB_NUMBER_THREADS and PARALLEL_MAKE are now automatically set to the build host's number of processor cores. I updated the "Building and Image" section in the Quick Start to state that. I also updated the PARALLEL_MAKE variable. (From yocto-docs rev: 2069c96d2410605c089da4eede2c7b4f9a7b704a) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 7 +++---- documentation/yocto-project-qs/yocto-project-qs.xml | 11 ++++++----- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'documentation') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 8e4f1793bb..a0f53713b0 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -5132,10 +5132,9 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" command during the do_compile task in order to specify parallel compilation on the local build host. - This variable is usually in the form - -j 4, where the number - represents the maximum number of parallel threads make can - run. + This variable is usually in the form "-j <x>", + where x represents the maximum number of parallel threads + make can run. diff --git a/documentation/yocto-project-qs/yocto-project-qs.xml b/documentation/yocto-project-qs/yocto-project-qs.xml index 96e207349d..2419fcf570 100644 --- a/documentation/yocto-project-qs/yocto-project-qs.xml +++ b/documentation/yocto-project-qs/yocto-project-qs.xml @@ -502,11 +502,12 @@ Another couple of variables of interest are the BB_NUMBER_THREADS and the PARALLEL_MAKE variables. - By default, these variables are commented out. - However, if you have a multi-core CPU you might want to uncomment - the lines and set both variables equal to twice the number of your - host's processor cores. - Setting these variables can significantly shorten your build time. + By default, these variables are set to how ever many 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. -- cgit v1.2.3-54-g00ecf