From 2435ffa52fabdbff6b445cf5a9c5cdc5bbc21b7c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 6 Jan 2023 00:55:15 +0100 Subject: [PATCH] Reduce the max number of jobs in Cirrus CI to 12 With 16 the build is still terminated by the OOM killer sometimes. --- .cirrus.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 52dd117955..cd008f6d2e 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -28,8 +28,8 @@ task: wxPROC_COUNT=`./build/tools/proc_count.sh` # ARM systems have 64 CPUs but run out of memory and crash when using that # many jobs, so limit them to something reasonable. - if [ $wxPROC_COUNT -gt 16 ]; then - wxPROC_COUNT=16 + if [ $wxPROC_COUNT -gt 12 ]; then + wxPROC_COUNT=12 fi echo wxBUILD_ARGS=-j$wxPROC_COUNT >> $CIRRUS_ENV