summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-13 10:21:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-14 10:18:28 +0100
commit891b5ee2eeb3ffab1d269a7566e27c1c6997d241 (patch)
tree134cff12745124857964689e4ccff8bc62106755 /meta
parent785d4af8e75cdc69dc1c0be43f7ed56f540f2df5 (diff)
downloadpoky-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')
-rw-r--r--meta/lib/oeqa/selftest/cases/sstatetests.py4
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("""
420TMPDIR = "${TOPDIR}/tmp-sstatesamehash" 420TMPDIR = "${TOPDIR}/tmp-sstatesamehash"
421BB_NUMBER_THREADS = "1" 421BB_NUMBER_THREADS = "${@oe.utils.cpu_count()}"
422PARALLEL_MAKE = "-j 1" 422PARALLEL_MAKE = "-j 1"
423DL_DIR = "${TOPDIR}/download1" 423DL_DIR = "${TOPDIR}/download1"
424TIME = "111111" 424TIME = "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("""
433TMPDIR = "${TOPDIR}/tmp-sstatesamehash2" 433TMPDIR = "${TOPDIR}/tmp-sstatesamehash2"
434BB_NUMBER_THREADS = "2" 434BB_NUMBER_THREADS = "${@oe.utils.cpu_count()-1}"
435PARALLEL_MAKE = "-j 2" 435PARALLEL_MAKE = "-j 2"
436DL_DIR = "${TOPDIR}/download2" 436DL_DIR = "${TOPDIR}/download2"
437TIME = "222222" 437TIME = "222222"