diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2011-06-20 09:39:54 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-24 11:18:33 +0100 |
commit | 54f43b664825111168cff098fca67b5ce2bba26d (patch) | |
tree | b74260aa4b411039af0b877e719cee599a90c729 | |
parent | 377acfc4fc59a74603c3f20c023c762cd8403e31 (diff) | |
download | poky-54f43b664825111168cff098fca67b5ce2bba26d.tar.gz |
documentation/yocto-project-qs/yocto-project-qs.xml: multi-core update
Added text suggesting that BB_NUMBER_THREADS be set to twice the number
of available processor cores and that PARALLEL_MAKE be set equal to the
number of processor cores. Similar changes were made to local.conf
based on work by Josh.
(From yocto-docs rev: e342a4af4d3ba000b348bbb9d125977fc0e95273)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/yocto-project-qs/yocto-project-qs.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/documentation/yocto-project-qs/yocto-project-qs.xml b/documentation/yocto-project-qs/yocto-project-qs.xml index 65728fb42f..bc40cbbeb3 100644 --- a/documentation/yocto-project-qs/yocto-project-qs.xml +++ b/documentation/yocto-project-qs/yocto-project-qs.xml | |||
@@ -288,8 +288,10 @@ | |||
288 | <para> | 288 | <para> |
289 | Take some time to examine your <filename>conf/local.conf</filename> file. | 289 | Take some time to examine your <filename>conf/local.conf</filename> file. |
290 | The defaults should work fine. | 290 | The defaults should work fine. |
291 | However, if you have a multi-core CPU you might want to set the variables | 291 | However, if you have a multi-core CPU you might want to set the variable |
292 | BB_NUMBER_THREADS and PARALLEL_MAKE to the number of processor cores on your build machine. | 292 | BB_NUMBER_THREADS equal to twice the number of processor cores your system has. |
293 | And, set the variable PARALLEL_MAKE equal to the number of processor cores. | ||
294 | Setting these variables can significantly shorten your build time. | ||
293 | By default, these variables are commented out. | 295 | By default, these variables are commented out. |
294 | </para> | 296 | </para> |
295 | <para> | 297 | <para> |