diff options
author | Toni Saario <[email protected]> | 2025-05-23 00:50:34 +0300 |
---|---|---|
committer | Toni Saario <[email protected]> | 2025-05-23 13:01:54 +0000 |
commit | 2bc191db85c4709b827ed79816a34b533ab9a8dd (patch) | |
tree | 1d504b3821c640f54d660ea4836ea1fd5c35046d /coin/module_config.yaml | |
parent | 852efca0d0a7a98f2c49063ed49e6dec14176391 (diff) |
The number of targets is too many to run all with 32 cores, and most
do not even need it when only building qtpdf.
Set the longest path Windows cross-compilation to run with 32 cores.
We'll see if the system can handle even this without issues.
Task-number: QTQAINFRA-7194
Change-Id: I818a4bd448bc0b66c881426e52f7dbd04be08a46
Reviewed-by: Michal Klocek <[email protected]>
Diffstat (limited to 'coin/module_config.yaml')
-rw-r--r-- | coin/module_config.yaml | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/coin/module_config.yaml b/coin/module_config.yaml index f1dcbd443..7b3c557f3 100644 --- a/coin/module_config.yaml +++ b/coin/module_config.yaml @@ -7,7 +7,35 @@ accept_configuration: machine_type: Build: - cores: 32 + # Run Windows cross-compilation on larger VM, due to extreme length. + - cores: 32 + enable_if: + condition: and + conditions: + - condition: property + property: host.os + equals_value: Windows + - condition: property + property: host + not_equals_property: target + - condition: property + property: target.os + not_equals_value: Android + - cores: 16 + enable_if: + condition: and + conditions: + - condition: property + property: host.os + equals_value: Windows + - condition: property + property: host.compiler + contains_value: MSVC + - condition: property + property: host.arch + equals_value: X86_64 + - cores: 8 + Test: cores: 4 |