diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2021-09-16 09:06:55 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2021-09-16 15:07:11 +0300 |
commit | 3f55e556b241f2e108d0a8efbd53a86ab5b085fb (patch) | |
tree | 218b6507b530c0057a99ec4221934aa623fda93a /coin | |
parent | b789f0865b68f8f9f5fa082811a964b65efcd02d (diff) |
Coin: limit maximum number of bitbake tasks
For Coin builds, ask for 16 core build machine (which is default
already), but limit the maximum number of bitbake tasks to 8.
This is attempting to avoid OOM which can occur when several
Qt modules start to build in parallel after dependency to qtdeclarative
is satisfied.
Pick-to: 6.2
Change-Id: I3dd6ed96a65ca73e3aae06fd93578a6e2aa8ac0a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Diffstat (limited to 'coin')
-rw-r--r-- | coin/module_config.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/coin/module_config.yaml b/coin/module_config.yaml index fb119777..65f4422f 100644 --- a/coin/module_config.yaml +++ b/coin/module_config.yaml @@ -9,6 +9,10 @@ accept_configuration: property: target.arch in_values: [TARGET1, TARGET2, TARGET3, TARGET4, TARGET5] +machine_type: + Build: + cores: 16 + environment: &environment type: Group instructions: @@ -83,6 +87,7 @@ build_instructions: source ./setup-environment.sh build export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE SSTATE_DIR DL_DIR" export SSTATE_DIR=/mnt/yocto-cache/sstate-caches/$(sed -n -e "s/DISTRO_CODENAME.*\"\(.*\)\"/\1/p" ../sources/poky/meta-*/conf/distro/poky.conf) + export BB_NUMBER_THREADS=8 bitbake meta-b2qt-embedded-qbsp SDKMACHINE=x86_64-mingw32 bitbake meta-b2qt-embedded-qbsp |