Skip to content
Snippets Groups Projects
Commit c36243fd authored by Esben Haabendal's avatar Esben Haabendal
Browse files

CI: Attempt to throttle load caused builds better


Use the support that both make and ninja have to hold back on starting new
parallel jobs if load is higher than a set number.

Use the $CI_ONIRO_NUM_CPUS variable if set, or the output of nproc command to
set sane values.

For most cases, this means that CI runners don't have to set anything, as nproc
output should be fine.

Signed-off-by: default avatarEsben Haabendal <esben.haabendal@huawei.com>
parent d30d240a
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment