feat: Use Neoverse N1 as default CPU (#20)

This commit is contained in:
Kroese 2024-02-06 23:56:35 +01:00 committed by GitHub
parent ac5c88c93a
commit 61948a9af8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,7 @@ set -Eeuo pipefail
: "${KVM:="Y"}" : "${KVM:="Y"}"
: "${CPU_FLAGS:=""}" : "${CPU_FLAGS:=""}"
: "${CPU_MODEL:=""}" : "${CPU_MODEL:=""}"
: "${DEF_MODEL:="cortex-a53"}" : "${DEF_MODEL:="neoverse-n1"}"
[[ "$ARCH" != "arm"* ]] && KVM="N" [[ "$ARCH" != "arm"* ]] && KVM="N"
@ -47,7 +47,7 @@ else
if [ -z "$CPU_MODEL" ]; then if [ -z "$CPU_MODEL" ]; then
if [[ "$ARCH" == "arm"* ]]; then if [[ "$ARCH" == "arm"* ]]; then
CPU_MODEL="max" CPU_MODEL="max,pauth-impdef=on"
else else
CPU_MODEL="$DEF_MODEL" CPU_MODEL="$DEF_MODEL"
fi fi