diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-13 10:21:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-14 10:18:28 +0100 |
commit | 891b5ee2eeb3ffab1d269a7566e27c1c6997d241 (patch) | |
tree | 134cff12745124857964689e4ccff8bc62106755 /meta/lib | |
parent | 785d4af8e75cdc69dc1c0be43f7ed56f540f2df5 (diff) | |
download | poky-891b5ee2eeb3ffab1d269a7566e27c1c6997d241.tar.gz |
sstatetests: Use higher parallelism value
Since the processing code for signature generation is now threaded,
use higher thread values as examples in this code for better performance.
(From OE-Core rev: f68ec7191546474f0bd688e57d2381a8e92be617)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/sstatetests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/sstatetests.py b/meta/lib/oeqa/selftest/cases/sstatetests.py index 8d05e30423..feadf3c51c 100644 --- a/meta/lib/oeqa/selftest/cases/sstatetests.py +++ b/meta/lib/oeqa/selftest/cases/sstatetests.py | |||
@@ -418,7 +418,7 @@ DEFAULTTUNE_virtclass-multilib-lib32 = "x86" | |||
418 | 418 | ||
419 | self.write_config(""" | 419 | self.write_config(""" |
420 | TMPDIR = "${TOPDIR}/tmp-sstatesamehash" | 420 | TMPDIR = "${TOPDIR}/tmp-sstatesamehash" |
421 | BB_NUMBER_THREADS = "1" | 421 | BB_NUMBER_THREADS = "${@oe.utils.cpu_count()}" |
422 | PARALLEL_MAKE = "-j 1" | 422 | PARALLEL_MAKE = "-j 1" |
423 | DL_DIR = "${TOPDIR}/download1" | 423 | DL_DIR = "${TOPDIR}/download1" |
424 | TIME = "111111" | 424 | TIME = "111111" |
@@ -431,7 +431,7 @@ http_proxy = "" | |||
431 | bitbake("world meta-toolchain -S none") | 431 | bitbake("world meta-toolchain -S none") |
432 | self.write_config(""" | 432 | self.write_config(""" |
433 | TMPDIR = "${TOPDIR}/tmp-sstatesamehash2" | 433 | TMPDIR = "${TOPDIR}/tmp-sstatesamehash2" |
434 | BB_NUMBER_THREADS = "2" | 434 | BB_NUMBER_THREADS = "${@oe.utils.cpu_count()-1}" |
435 | PARALLEL_MAKE = "-j 2" | 435 | PARALLEL_MAKE = "-j 2" |
436 | DL_DIR = "${TOPDIR}/download2" | 436 | DL_DIR = "${TOPDIR}/download2" |
437 | TIME = "222222" | 437 | TIME = "222222" |