mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
beb54ff6f7
commit
ec0f9cf85a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user