Set threads for compiling boost to 1 (to hopefully actually fix too many open files)

This commit is contained in:
niansa 2024-03-10 22:02:41 +01:00
parent 137ac5b7b1
commit 6907d5a7fc

View file

@ -71,7 +71,7 @@ cd boost-src/
echo " -- Bootstrapping Boost (no output due to Wine workarounds)"
xvfb-run wineconsole ./bootstrap.bat clang &> /dev/null
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"
cd ../
rm -rf boost-src