mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-21 08:29:59 +00:00
Use one core with the compiler by default (#1114)
This commit is contained in:
parent
ddf258db57
commit
3de66af55c
@ -49,8 +49,7 @@ echo -e $logo
|
|||||||
CONNECT_TYPE="FULLSPEC"
|
CONNECT_TYPE="FULLSPEC"
|
||||||
# clang v11 is the latest distributed by Buster
|
# clang v11 is the latest distributed by Buster
|
||||||
COMPILER="clang++-11"
|
COMPILER="clang++-11"
|
||||||
# Takes half of the CPU cores available, to avoid running out of memory on low spec devices
|
CORES=1
|
||||||
CORES=$(awk 'BEGIN { x = '$(nproc)'; y = 2; print (x / y) }' | numfmt --round=up --format=%.0f)
|
|
||||||
USER=$(whoami)
|
USER=$(whoami)
|
||||||
BASE=$(dirname "$(readlink -f "${0}")")
|
BASE=$(dirname "$(readlink -f "${0}")")
|
||||||
CPP_PATH="$BASE/cpp"
|
CPP_PATH="$BASE/cpp"
|
||||||
|
Loading…
Reference in New Issue
Block a user