Limit the number of concurrent jobs to 16 in Cirrus CI builds
Using 64 of them just crashes, probably due to running out of RAM.
This commit is contained in:
parent
120e8f5395
commit
ec03139362
1 changed files with 6 additions and 0 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue