From 6907d5a7fc7220dba37099034b3df523508cc5a6 Mon Sep 17 00:00:00 2001 From: niansa Date: Sun, 10 Mar 2024 22:02:41 +0100 Subject: [PATCH] Set threads for compiling boost to 1 (to hopefully actually fix too many open files) --- windows.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows.sh b/windows.sh index c481d75..bf932a0 100755 --- a/windows.sh +++ b/windows.sh @@ -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