summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2014-03-21 06:38:21 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-25 12:29:44 +0000
commitef627f855d5409051567ddbf3cba7d9be1ab4979 (patch)
treebeda3d1633ca2a694c5d188f2076270718b7e525 /documentation
parent32890f29afd9bd93e22c325cdc24466982fb80a6 (diff)
downloadpoky-ef627f855d5409051567ddbf3cba7d9be1ab4979.tar.gz
yocto-project-qs, ref-manual: Fixed core number defaults
Fixes [YOCTO #2528] The defaults for BB_NUMBER_THREADS and PARALLEL_MAKE are now automatically set to the build host's number of processor cores. I updated the "Building and Image" section in the Quick Start to state that. I also updated the PARALLEL_MAKE variable. (From yocto-docs rev: 2069c96d2410605c089da4eede2c7b4f9a7b704a) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/ref-variables.xml7
-rw-r--r--documentation/yocto-project-qs/yocto-project-qs.xml11
2 files changed, 9 insertions, 9 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 8e4f1793bb..a0f53713b0 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -5132,10 +5132,9 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
5132 command during the <filename>do_compile</filename> task 5132 command during the <filename>do_compile</filename> task
5133 in order to specify parallel compilation on the local 5133 in order to specify parallel compilation on the local
5134 build host. 5134 build host.
5135 This variable is usually in the form 5135 This variable is usually in the form "-j &lt;x&gt;",
5136 <filename>-j 4</filename>, where the number 5136 where x represents the maximum number of parallel threads
5137 represents the maximum number of parallel threads make can 5137 <filename>make</filename> can run.
5138 run.
5139 </para> 5138 </para>
5140 5139
5141 <para> 5140 <para>
diff --git a/documentation/yocto-project-qs/yocto-project-qs.xml b/documentation/yocto-project-qs/yocto-project-qs.xml
index 96e207349d..2419fcf570 100644
--- a/documentation/yocto-project-qs/yocto-project-qs.xml
+++ b/documentation/yocto-project-qs/yocto-project-qs.xml
@@ -502,11 +502,12 @@
502 Another couple of variables of interest are the 502 Another couple of variables of interest are the
503 <ulink url='&YOCTO_DOCS_REF_URL;#var-BB_NUMBER_THREADS'><filename>BB_NUMBER_THREADS</filename></ulink> and the 503 <ulink url='&YOCTO_DOCS_REF_URL;#var-BB_NUMBER_THREADS'><filename>BB_NUMBER_THREADS</filename></ulink> and the
504 <ulink url='&YOCTO_DOCS_REF_URL;#var-PARALLEL_MAKE'><filename>PARALLEL_MAKE</filename></ulink> variables. 504 <ulink url='&YOCTO_DOCS_REF_URL;#var-PARALLEL_MAKE'><filename>PARALLEL_MAKE</filename></ulink> variables.
505 By default, these variables are commented out. 505 By default, these variables are set to how ever many processor
506 However, if you have a multi-core CPU you might want to uncomment 506 cores your build host uses.
507 the lines and set both variables equal to twice the number of your 507 However, if your build host uses multiple processor cores,
508 host's processor cores. 508 you should increase these settings to twice the number of
509 Setting these variables can significantly shorten your build time. 509 cores used.
510 Doing so can significantly shorten your build time.
510 </para> 511 </para>
511 512
512 <para> 513 <para>