diff --git a/.cirrus.yml b/.cirrus.yml index e275ae1871..f03e24b1c2 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -26,6 +26,12 @@ task: echo LD_LIBRARY_PATH=`pwd`/lib >> $CIRRUS_ENV 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 + fi + echo wxBUILD_ARGS=-j$wxPROC_COUNT >> $CIRRUS_ENV WX_EXTRA_PACKAGES='ccache git'