Reduce the max number of jobs in Cirrus CI to 12

With 16 the build is still terminated by the OOM killer sometimes.
This commit is contained in:
Vadim Zeitlin 2023-01-06 00:55:15 +01:00
parent 42c2cb9936
commit 2435ffa52f

View file

@ -28,8 +28,8 @@ task:
wxPROC_COUNT=`./build/tools/proc_count.sh` wxPROC_COUNT=`./build/tools/proc_count.sh`
# ARM systems have 64 CPUs but run out of memory and crash when using that # ARM systems have 64 CPUs but run out of memory and crash when using that
# many jobs, so limit them to something reasonable. # many jobs, so limit them to something reasonable.
if [ $wxPROC_COUNT -gt 16 ]; then if [ $wxPROC_COUNT -gt 12 ]; then
wxPROC_COUNT=16 wxPROC_COUNT=12
fi fi
echo wxBUILD_ARGS=-j$wxPROC_COUNT >> $CIRRUS_ENV echo wxBUILD_ARGS=-j$wxPROC_COUNT >> $CIRRUS_ENV