mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
bitbake.conf: Ensure XZ_THREADS doesn't change sstate checksums
rpm output packages currently depend on the value of XZ_THREADS which is ok if left to the default value but problematic if system limits are set such as on the autobuilder. Force the value to a specific one in the hashes for better sstate reuse and consistent rpm task checksums. (From OE-Core rev: 0296dc71c01d1b7953d74ef37d56429e2f4fcfab) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -811,6 +811,7 @@ PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
|
||||
# Default parallelism and resource usage for xz
|
||||
XZ_MEMLIMIT ?= "50%"
|
||||
XZ_THREADS ?= "${@oe.utils.cpu_count(at_least=2)}"
|
||||
XZ_THREADS[vardepvalue] = "1"
|
||||
XZ_DEFAULTS ?= "--memlimit=${XZ_MEMLIMIT} --threads=${XZ_THREADS}"
|
||||
XZ_DEFAULTS[vardepsexclude] += "XZ_MEMLIMIT XZ_THREADS"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user