diff options
Diffstat (limited to 'documentation/ref-manual')
| -rw-r--r-- | documentation/ref-manual/closer-look.xml | 15 | ||||
| -rw-r--r-- | documentation/ref-manual/ref-structure.xml | 8 | ||||
| -rw-r--r-- | documentation/ref-manual/ref-variables.xml | 23 |
3 files changed, 18 insertions, 28 deletions
diff --git a/documentation/ref-manual/closer-look.xml b/documentation/ref-manual/closer-look.xml index c0c0d619a4..eaf07d665f 100644 --- a/documentation/ref-manual/closer-look.xml +++ b/documentation/ref-manual/closer-look.xml | |||
| @@ -162,9 +162,10 @@ | |||
| 162 | <itemizedlist> | 162 | <itemizedlist> |
| 163 | <listitem><para><emphasis>Parallelism Options:</emphasis> | 163 | <listitem><para><emphasis>Parallelism Options:</emphasis> |
| 164 | Controlled by the | 164 | Controlled by the |
| 165 | <link linkend='var-BB_NUMBER_THREADS'><filename>BB_NUMBER_THREADS</filename></link> | 165 | <link linkend='var-BB_NUMBER_THREADS'><filename>BB_NUMBER_THREADS</filename></link>, |
| 166 | <link linkend='var-PARALLEL_MAKE'><filename>PARALLEL_MAKE</filename></link>, | ||
| 166 | and | 167 | and |
| 167 | <link linkend='var-PARALLEL_MAKE'><filename>PARALLEL_MAKE</filename></link> | 168 | <ulink url='&YOCTO_DOCS_BB_URL;#var-BB_NUMBER_PARSE_THREADS'><filename>BB_NUMBER_PARSE_THREADS</filename></ulink> |
| 168 | variables.</para></listitem> | 169 | variables.</para></listitem> |
| 169 | <listitem><para><emphasis>Target Machine Selection:</emphasis> | 170 | <listitem><para><emphasis>Target Machine Selection:</emphasis> |
| 170 | Controlled by the | 171 | Controlled by the |
| @@ -216,12 +217,10 @@ | |||
| 216 | For example, suppose you had several build environments and | 217 | For example, suppose you had several build environments and |
| 217 | they shared some common features. | 218 | they shared some common features. |
| 218 | You can set these default build properties here. | 219 | You can set these default build properties here. |
| 219 | A good example is perhaps the level of parallelism you want | 220 | A good example is perhaps the packaging format to use |
| 220 | to use through the | 221 | through the |
| 221 | <link linkend='var-BB_NUMBER_THREADS'><filename>BB_NUMBER_THREADS</filename></link> | 222 | <link linkend='var-PACKAGE_CLASSES'><filename>PACKAGE_CLASSES</filename></link> |
| 222 | and | 223 | variable.</para> |
| 223 | <link linkend='var-PARALLEL_MAKE'><filename>PARALLEL_MAKE</filename></link> | ||
| 224 | variables.</para> | ||
| 225 | <para>One useful scenario for using the | 224 | <para>One useful scenario for using the |
| 226 | <filename>conf/site.conf</filename> file is to extend your | 225 | <filename>conf/site.conf</filename> file is to extend your |
| 227 | <link linkend='var-BBPATH'><filename>BBPATH</filename></link> | 226 | <link linkend='var-BBPATH'><filename>BBPATH</filename></link> |
diff --git a/documentation/ref-manual/ref-structure.xml b/documentation/ref-manual/ref-structure.xml index 14419d3a84..1098006c73 100644 --- a/documentation/ref-manual/ref-structure.xml +++ b/documentation/ref-manual/ref-structure.xml | |||
| @@ -467,12 +467,8 @@ | |||
| 467 | <filename><link linkend='var-MACHINE'>MACHINE</link></filename> | 467 | <filename><link linkend='var-MACHINE'>MACHINE</link></filename> |
| 468 | for which you want to build, which package types you wish to use | 468 | for which you want to build, which package types you wish to use |
| 469 | (<link linkend='var-PACKAGE_CLASSES'><filename>PACKAGE_CLASSES</filename></link>), | 469 | (<link linkend='var-PACKAGE_CLASSES'><filename>PACKAGE_CLASSES</filename></link>), |
| 470 | the location from which you want to access downloaded files | 470 | and the location from which you want to access downloaded files |
| 471 | (<filename><link linkend='var-DL_DIR'>DL_DIR</link></filename>), | 471 | (<filename><link linkend='var-DL_DIR'>DL_DIR</link></filename>). |
| 472 | and how you want your host machine to use resources | ||
| 473 | (<link linkend='var-BB_NUMBER_THREADS'><filename>BB_NUMBER_THREADS</filename></link> | ||
| 474 | and | ||
| 475 | <link linkend='var-PARALLEL_MAKE'><filename>PARALLEL_MAKE</filename></link>). | ||
| 476 | </para> | 472 | </para> |
| 477 | 473 | ||
| 478 | <para> | 474 | <para> |
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 |
