From ec0f9cf85a67b6ab0589958b68191940ce7125a5 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 29 Jan 2014 12:23:29 -0600 Subject: ref-manual: Updates to BB_NUMBER_THREADS and PARALLEL_MAKE. Noted that if these variables are not set, they both default to the number of cores the build system has. (From yocto-docs rev: 8654aeb91f734628bffda9d5de0cdc9ea27d3f67) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'documentation') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 2e59e49..ea00098 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -547,9 +547,18 @@ BB_NUMBER_THREADS - The maximum number of tasks BitBake should run in parallel at any one time. - If your host development system supports multiple cores, a good rule of thumb - is to set this variable to twice the number of cores. + + The maximum number of tasks BitBake should run in parallel + at any one time. + If your host development system supports multiple cores, + a good rule of thumb is to set this variable to twice the + number of cores. + + + + The default value for BB_NUMBER_THREADS + is equal to the number of cores your build system has. + @@ -4792,9 +4801,14 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" -j 4, where the number represents the maximum number of parallel threads make can run. + + + If you development host supports multiple cores a good rule of thumb is to set this variable to twice the number of cores on the host. + If you do not set PARALLEL_MAKE, it + defaults to the number of cores your build system has. Individual recipes might clear out this variable if the software being built has problems running its -- cgit v1.1