mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-03 09:54:33 +00:00
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:
@@ -819,6 +819,7 @@ function arch_to_golang() {
|
|||||||
|
|
||||||
case "${arch}" in
|
case "${arch}" in
|
||||||
aarch64) echo "arm64";;
|
aarch64) echo "arm64";;
|
||||||
|
arm64) echo "${arch}";;
|
||||||
ppc64le) echo "${arch}";;
|
ppc64le) echo "${arch}";;
|
||||||
riscv64) echo "${arch}";;
|
riscv64) echo "${arch}";;
|
||||||
x86_64) echo "amd64";;
|
x86_64) echo "amd64";;
|
||||||
|
Reference in New Issue
Block a user