Skip to content
Snippets Groups Projects

CI: Attempt to throttle load caused by builds better

Merged Esben Haabendal requested to merge ci-tuning into kirkstone

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.

Closes eclipse/oniro-core/meta-openharmony#33

Signed-off-by: Esben Haabendal esben.haabendal@huawei.com

Edited by Esben Haabendal

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading