Skip to content

Retry build several times if detected that system ran OOM

Christian Dreher requested to merge feature/retries-on-oom into main

When cc1plus is killed during CMake build step, Axii will assume that it was due to out of memory and retry with half the amount of jobs:

image

image

... until it succeeds building, or gives up with an error if it even failed with one job.

The upgrade summary indicates a warning sign if this happened:

image

Edited by Christian Dreher

Merge request reports