diff options
author | Brandon Bayer <bbayer@multitech.com> | 2016-11-09 15:22:48 -0600 |
---|---|---|
committer | Brandon Bayer <bbayer@multitech.com> | 2016-11-09 15:22:48 -0600 |
commit | 38ded95350a89cae973df774242e3c35e98784d8 (patch) | |
tree | e4eb649c1141597c2017d335ef0b0b63e3680ad5 /contrib/local.conf | |
parent | ed42d0818b12bc61e37fb274357e1b07c5fb50ce (diff) | |
download | meta-mlinux-38ded95350a89cae973df774242e3c35e98784d8.tar.gz meta-mlinux-38ded95350a89cae973df774242e3c35e98784d8.tar.bz2 meta-mlinux-38ded95350a89cae973df774242e3c35e98784d8.zip |
chore: change build parallelism to depend on number of cores
Diffstat (limited to 'contrib/local.conf')
-rw-r--r-- | contrib/local.conf | 4 |
1 files changed, 2 insertions, 2 deletions
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" |