diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2021-09-16 09:06:55 +0300 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-09-16 14:03:22 +0000 |
commit | 1da42dca40211c4c22edf2c83b7bed45b0f7897c (patch) | |
tree | e0fe7a7229985dc430c19c6a8816ca65fac611ec | |
parent | 874bed1ad91f8eda3af08d66c37ac4868dcdf06d (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.
Change-Id: I3dd6ed96a65ca73e3aae06fd93578a6e2aa8ac0a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 3f55e556b241f2e108d0a8efbd53a86ab5b085fb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-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 93ce05da..c090d39a 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: @@ -81,6 +85,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 |