From 3de66af55c675f656354f4ddc96a1be34a592a77 Mon Sep 17 00:00:00 2001 From: Daniel Markstedt Date: Thu, 2 Mar 2023 13:51:22 -0800 Subject: [PATCH] Use one core with the compiler by default (#1114) --- easyinstall.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/easyinstall.sh b/easyinstall.sh index 83cdf52d..9f3a30d5 100755 --- a/easyinstall.sh +++ b/easyinstall.sh @@ -49,8 +49,7 @@ echo -e $logo CONNECT_TYPE="FULLSPEC" # clang v11 is the latest distributed by Buster COMPILER="clang++-11" -# Takes half of the CPU cores available, to avoid running out of memory on low spec devices -CORES=$(awk 'BEGIN { x = '$(nproc)'; y = 2; print (x / y) }' | numfmt --round=up --format=%.0f) +CORES=1 USER=$(whoami) BASE=$(dirname "$(readlink -f "${0}")") CPP_PATH="$BASE/cpp"