mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
Coin: increase CPU count for CI builds
For Coin builds, ask for 16 core build machine, but limit the maximum number of bitbake tasks to 8. Try to speed up the builds, but 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: I3a0d646f4204fb0269bba2356543589a5620ed3e Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
parent
f61b87ae78
commit
170ca88bcd
|
|
@ -11,7 +11,7 @@ accept_configuration:
|
|||
|
||||
machine_type:
|
||||
Build:
|
||||
cores: 8
|
||||
cores: 16
|
||||
|
||||
# Target build matrix:
|
||||
#
|
||||
|
|
@ -124,6 +124,7 @@ instructions:
|
|||
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE SSTATE_DIR DL_DIR"
|
||||
export DL_DIR=/mnt/yocto-cache/downloads
|
||||
export BB_GENERATE_MIRROR_TARBALLS=1
|
||||
export BB_NUMBER_THREADS=8
|
||||
DISTRO_CODENAME=$(sed -n -e "s/DISTRO_CODENAME.*\"\(.*\)\"/\1/p" ../poky/meta-*/conf/distro/poky.conf)
|
||||
export SSTATE_DIR=/mnt/yocto-cache/sstate-caches/${DISTRO_CODENAME}-meta-qt6
|
||||
bitbake-layers add-layer ../meta-openembedded/meta-oe
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user