From 51eb003529d72fa3dede176c658d4f79dd75a256 Mon Sep 17 00:00:00 2001 From: Liam Keegan Date: Fri, 12 Apr 2024 11:40:15 +0200 Subject: [PATCH] use 1 core due to RAM issue --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 68e32a7..33f0273 100755 --- a/build.sh +++ b/build.sh @@ -23,7 +23,7 @@ fi export CMAKE_OSX_DEPLOYMENT_TARGET="${MACOSX_DEPLOYMENT_TARGET}" export CMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} export CMAKE_GENERATOR="Ninja" -export MAKE_OPTIONS="-v -j2" +export MAKE_OPTIONS="-v -j1" # disable gcc 10 pstl TBB backend as it uses the old TBB API export CMAKE_CXX_FLAGS='"-fvisibility=hidden -D_GLIBCXX_USE_TBB_PAR_BACKEND=0 -DNDEBUG"' export BUILD_SHARED_LIBS=OFF