summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index f3ff5b7..030d29b 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -816,6 +816,10 @@ XZ_THREADS[vardepvalue] = "1"
816XZ_DEFAULTS ?= "--memlimit=${XZ_MEMLIMIT} --threads=${XZ_THREADS}" 816XZ_DEFAULTS ?= "--memlimit=${XZ_MEMLIMIT} --threads=${XZ_THREADS}"
817XZ_DEFAULTS[vardepsexclude] += "XZ_MEMLIMIT XZ_THREADS" 817XZ_DEFAULTS[vardepsexclude] += "XZ_MEMLIMIT XZ_THREADS"
818 818
819# Default parallelism for zstd
820ZSTD_THREADS ?= "${@oe.utils.cpu_count(at_least=2)}"
821ZSTD_THREADS[vardepvalue] = "1"
822
819# Limit the number of threads that OpenMP libraries will use. Otherwise they 823# Limit the number of threads that OpenMP libraries will use. Otherwise they
820# may fallback to using all CPUs 824# may fallback to using all CPUs
821export OMP_NUM_THREADS = "${BB_NUMBER_THREADS}" 825export OMP_NUM_THREADS = "${BB_NUMBER_THREADS}"