From 38ded95350a89cae973df774242e3c35e98784d8 Mon Sep 17 00:00:00 2001 From: Brandon Bayer Date: Wed, 9 Nov 2016 15:22:48 -0600 Subject: chore: change build parallelism to depend on number of cores --- contrib/local.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib') diff --git a/contrib/local.conf b/contrib/local.conf index 66a1312..1e83060 100644 --- a/contrib/local.conf +++ b/contrib/local.conf @@ -32,8 +32,8 @@ BBMASK = "" # Make use of SMP: # PARALLEL_MAKE specifies how many concurrent compiler threads are spawned per bitbake process # BB_NUMBER_THREADS specifies how many concurrent bitbake tasks will be run -PARALLEL_MAKE = "-j4" -BB_NUMBER_THREADS = "4" +BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()*2}" +PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()*2}" # Don't generate the mirror tarball for SCM repos, the snapshot is enough BB_GENERATE_MIRROR_TARBALLS = "0" -- cgit v1.2.3