mirror of
https://git.suyu.dev/suyu/ci-docker.git
synced 2025-12-21 21:36:02 +01:00
Set threads for compiling boost to 1 (to hopefully actually fix too many open files)
This commit is contained in:
parent
137ac5b7b1
commit
6907d5a7fc
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ cd boost-src/
|
||||||
echo " -- Bootstrapping Boost (no output due to Wine workarounds)"
|
echo " -- Bootstrapping Boost (no output due to Wine workarounds)"
|
||||||
xvfb-run wineconsole ./bootstrap.bat clang &> /dev/null
|
xvfb-run wineconsole ./bootstrap.bat clang &> /dev/null
|
||||||
echo " -- Compiling boost"
|
echo " -- Compiling boost"
|
||||||
wine ./b2.exe -j$(min $(nproc) 2) --with-context install # Limiting to 4 to avoid "Too many open files"
|
wine ./b2.exe -j1 --with-context install # Limiting to 2 to avoid "Too many open files"
|
||||||
echo " -- Deleting boost sources"
|
echo " -- Deleting boost sources"
|
||||||
cd ../
|
cd ../
|
||||||
rm -rf boost-src
|
rm -rf boost-src
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue