build: Add darwin support to arch_to_golang

Avoid the error `ERROR: unsupported architecture: arm64`
in install_go.sh on darwin

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman
2025-07-21 15:40:11 +01:00
parent ac17506bae
commit 661e45607b

View File

@@ -819,6 +819,7 @@ function arch_to_golang() {
case "${arch}" in
aarch64) echo "arm64";;
arm64) echo "${arch}";;
ppc64le) echo "${arch}";;
riscv64) echo "${arch}";;
x86_64) echo "amd64";;