mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 09:49:33 +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>
|
<glossentry id='var-BB_NUMBER_THREADS'><glossterm>BB_NUMBER_THREADS</glossterm>
|
||||||
<glossdef>
|
<glossdef>
|
||||||
<para>The maximum number of tasks BitBake should run in parallel at any one time.
|
<para>
|
||||||
If your host development system supports multiple cores, a good rule of thumb
|
The maximum number of tasks BitBake should run in parallel
|
||||||
is to set this variable to twice the number of cores.</para>
|
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>
|
</glossdef>
|
||||||
</glossentry>
|
</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
|
<filename>-j 4</filename>, where the number
|
||||||
represents the maximum number of parallel threads make can
|
represents the maximum number of parallel threads make can
|
||||||
run.
|
run.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
If you development host supports multiple cores a good
|
If you development host supports multiple cores a good
|
||||||
rule of thumb is to set this variable to twice the number
|
rule of thumb is to set this variable to twice the number
|
||||||
of cores on the host.
|
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>
|
<note>
|
||||||
Individual recipes might clear out this variable if
|
Individual recipes might clear out this variable if
|
||||||
the software being built has problems running its
|
the software being built has problems running its
|
||||||
|
|||||||
Reference in New Issue
Block a user