On 3/6/23 20:45, Adrian Schröter wrote:
On Samstag, 4. März 2023, 17:13:18 CET Arjen de Korte wrote:
What does the specifying jobs [1] in the _constraints file actually do?
I expected it to work similarly as specifying 'osc build --jobs N' on the command line, but looking in the logs of a remote build server, it see that it actually runs with a higher number '+ /usr/bin/make -O VERBOSE=1 -j8'.
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'?
it is the opposite, it is canceling out any worker which has less than X jobs configured. So the job will only be assigned to workers which are called using --jobs X during dispatching ...
[1] https://openbuildservice.org/help/manuals/obs-user-guide/cha.obs.build_job_c...
I think the documentation could do with some clarification here. "To require a minimal number of pre-confiured parallel jobs for the build job. This limits the parallel wanted jobs for the build tooling, but is actually not a hardware requirement." As a native english speaker its pretty easy to interpret the second sentence as limiting the number of parallel jobs that can run. Is there a good place to create bug reports for obs documentation? Cheers -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B