diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-01-29 12:23:29 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-11 12:01:31 +0000 |
commit | ec0f9cf85a67b6ab0589958b68191940ce7125a5 (patch) | |
tree | fc06b7a1aab20ca93a872561bd11af3c32901b7c | |
parent | beb54ff6f7cc305ea01315c844bd5b7f0ca24e91 (diff) | |
download | 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>
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 2e59e49f82..ea00098aed 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
@@ -547,9 +547,18 @@ | |||
547 | 547 | ||
548 | <glossentry id='var-BB_NUMBER_THREADS'><glossterm>BB_NUMBER_THREADS</glossterm> | 548 | <glossentry id='var-BB_NUMBER_THREADS'><glossterm>BB_NUMBER_THREADS</glossterm> |
549 | <glossdef> | 549 | <glossdef> |
550 | <para>The maximum number of tasks BitBake should run in parallel at any one time. | 550 | <para> |
551 | If your host development system supports multiple cores, a good rule of thumb | 551 | The maximum number of tasks BitBake should run in parallel |
552 | is to set this variable to twice the number of cores.</para> | 552 | at any one time. |
553 | If your host development system supports multiple cores, | ||
554 | a good rule of thumb is to set this variable to twice the | ||
555 | number of cores. | ||
556 | </para> | ||
557 | |||
558 | <para> | ||
559 | The default value for <filename>BB_NUMBER_THREADS</filename> | ||
560 | is equal to the number of cores your build system has. | ||
561 | </para> | ||
553 | </glossdef> | 562 | </glossdef> |
554 | </glossentry> | 563 | </glossentry> |
555 | 564 | ||
@@ -4792,9 +4801,14 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
4792 | <filename>-j 4</filename>, where the number | 4801 | <filename>-j 4</filename>, where the number |
4793 | represents the maximum number of parallel threads make can | 4802 | represents the maximum number of parallel threads make can |
4794 | run. | 4803 | run. |
4804 | </para> | ||
4805 | |||
4806 | <para> | ||
4795 | If you development host supports multiple cores a good | 4807 | If you development host supports multiple cores a good |
4796 | rule of thumb is to set this variable to twice the number | 4808 | rule of thumb is to set this variable to twice the number |
4797 | of cores on the host. | 4809 | of cores on the host. |
4810 | If you do not set <filename>PARALLEL_MAKE</filename>, it | ||
4811 | defaults to the number of cores your build system has. | ||
4798 | <note> | 4812 | <note> |
4799 | Individual recipes might clear out this variable if | 4813 | Individual recipes might clear out this variable if |
4800 | the software being built has problems running its | 4814 | the software being built has problems running its |