mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 09:32:13 +02:00
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>
This commit is contained in:
@@ -418,7 +418,7 @@ DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
|
||||
|
||||
self.write_config("""
|
||||
TMPDIR = "${TOPDIR}/tmp-sstatesamehash"
|
||||
BB_NUMBER_THREADS = "1"
|
||||
BB_NUMBER_THREADS = "${@oe.utils.cpu_count()}"
|
||||
PARALLEL_MAKE = "-j 1"
|
||||
DL_DIR = "${TOPDIR}/download1"
|
||||
TIME = "111111"
|
||||
@@ -431,7 +431,7 @@ http_proxy = ""
|
||||
bitbake("world meta-toolchain -S none")
|
||||
self.write_config("""
|
||||
TMPDIR = "${TOPDIR}/tmp-sstatesamehash2"
|
||||
BB_NUMBER_THREADS = "2"
|
||||
BB_NUMBER_THREADS = "${@oe.utils.cpu_count()-1}"
|
||||
PARALLEL_MAKE = "-j 2"
|
||||
DL_DIR = "${TOPDIR}/download2"
|
||||
TIME = "222222"
|
||||
|
||||
Reference in New Issue
Block a user