summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2014-01-29 12:23:29 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-11 12:01:31 +0000
commitec0f9cf85a67b6ab0589958b68191940ce7125a5 (patch)
treefc06b7a1aab20ca93a872561bd11af3c32901b7c /documentation
parentbeb54ff6f7cc305ea01315c844bd5b7f0ca24e91 (diff)
downloadast2050-yocto-poky-ec0f9cf85a67b6ab0589958b68191940ce7125a5.zip
ast2050-yocto-poky-ec0f9cf85a67b6ab0589958b68191940ce7125a5.tar.gz
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 <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/ref-variables.xml20
1 files changed, 17 insertions, 3 deletions
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 @@
<glossentry id='var-BB_NUMBER_THREADS'><glossterm>BB_NUMBER_THREADS</glossterm>
<glossdef>
- <para>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.</para>
+ <para>
+ 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.
+ </para>
+
+ <para>
+ The default value for <filename>BB_NUMBER_THREADS</filename>
+ is equal to the number of cores your build system has.
+ </para>
</glossdef>
</glossentry>
@@ -4792,9 +4801,14 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
<filename>-j 4</filename>, where the number
represents the maximum number of parallel threads make can
run.
+ </para>
+
+ <para>
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 <filename>PARALLEL_MAKE</filename>, it
+ defaults to the number of cores your build system has.
<note>
Individual recipes might clear out this variable if
the software being built has problems running its
OpenPOWER on IntegriCloud