6 Mar
2023
6 Mar
'23
10:42
On Mär 04 2023, Arjen de Korte wrote:
Is there a way to limit the requested number of parallel build jobs in the _constraints file, or is the only way to put this in the spec file like '%cmake_build --jobs 4'?
You can use the %limit_build macro (from the memory-constraints package) to limit the number of jobs according to the given memory consumption. That takes the available memory on the worker into account, so that a bigger worker may run with more jobs. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."