diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2015-01-19 14:14:19 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-17 15:16:51 +0000 |
commit | 4ab132a20d33e70cf6736737c59d2c0ce2f79298 (patch) | |
tree | 5525f7940beb4783d345feea1ec86ec049d0bae1 /documentation/ref-manual/ref-variables.xml | |
parent | 0a367c514b86998f302da4e6d98fedaa8b4e8aaf (diff) | |
download | poky-4ab132a20d33e70cf6736737c59d2c0ce2f79298.tar.gz |
dev-manual, ref-manual, yocto-project-qs: Updates to parallelism variables
The way the old manual set had worded the use of the
BB_NUMBER_THREADS, PARALLEL_MAKE, and BB_NUMBER_PARSE_THREADS
had become depricated. It suggested a lot of user intervention
to get these variables set to have the build system utilize
optimal parallelism. The change a while back to the build system
where the variables are set to the number of build host cores
now makes the variables automatically be set to their best
values. I have gone through the manual set and changed wordings
appropriately to reflect this.
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 3a27b1792c92a2f22173315e2732f672cdad2c78)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/ref-variables.xml')
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 7abad0460a..281c4e3e2d 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
@@ -729,20 +729,17 @@ | |||
729 | 729 | ||
730 | <glossentry id='var-BB_NUMBER_THREADS'><glossterm><imagedata fileref="figures/define-generic.png" />BB_NUMBER_THREADS</glossterm> | 730 | <glossentry id='var-BB_NUMBER_THREADS'><glossterm><imagedata fileref="figures/define-generic.png" />BB_NUMBER_THREADS</glossterm> |
731 | <info> | 731 | <info> |
732 | BB_NUMBER_THREADS[doc] = "The maximum number of tasks BitBake should run in parallel at any one time. A good rule of thumb is for this variable to be twice the number of cores." | 732 | BB_NUMBER_THREADS[doc] = "The maximum number of tasks BitBake should run in parallel at any one time. This variable is automatically configured to be equal to the number of build system cores." |
733 | </info> | 733 | </info> |
734 | <glossdef> | 734 | <glossdef> |
735 | <para> | 735 | <para> |
736 | The maximum number of tasks BitBake should run in parallel | 736 | The maximum number of tasks BitBake should run in parallel |
737 | at any one time. | 737 | at any one time. |
738 | If your host development system supports multiple cores, | 738 | The OpenEmbedded build system automatically configures |
739 | a good rule of thumb is to have this variable be twice the | 739 | this variable to be equal to the number of cores on the |
740 | number of cores. | 740 | build system. |
741 | </para> | 741 | To gain optimal parallelism, you should not have to |
742 | 742 | override this variable. | |
743 | <para> | ||
744 | The default value for <filename>BB_NUMBER_THREADS</filename> | ||
745 | is equal to the number of cores your build system has. | ||
746 | </para> | 743 | </para> |
747 | </glossdef> | 744 | </glossdef> |
748 | </glossentry> | 745 | </glossentry> |
@@ -7380,11 +7377,9 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
7380 | </para> | 7377 | </para> |
7381 | 7378 | ||
7382 | <para> | 7379 | <para> |
7383 | If your development host supports multiple cores, a good | 7380 | The OpenEmbedded build system automatically sets this |
7384 | rule of thumb is to set this variable to twice the number | 7381 | variable to be equal to the number of cores the build |
7385 | of cores on the host. | 7382 | system uses. |
7386 | If you do not set <filename>PARALLEL_MAKE</filename>, it | ||
7387 | defaults to the number of cores your build system has. | ||
7388 | <note> | 7383 | <note> |
7389 | Individual recipes might clear out this variable if | 7384 | Individual recipes might clear out this variable if |
7390 | the software being built has problems running its | 7385 | the software being built has problems running its |