From 9fd17a31267e0cea6c7af5862e66023fba63bc49 Mon Sep 17 00:00:00 2001 From: Suyun <108112549+Suyun114@users.noreply.github.com> Date: Tue, 24 Sep 2024 20:21:33 +0800 Subject: [PATCH 1/2] fix: `arm64` -> `aarch64` for parsing `uname -m` --- build/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/build.sh b/build/build.sh index 8618dbf8d51..9a79869c50a 100755 --- a/build/build.sh +++ b/build/build.sh @@ -53,7 +53,7 @@ esac UNAME_ARCH=$( uname -m ) -if [[ "${UNAME_ARCH}" == "arm64" ]]; then +if [[ "${UNAME_ARCH}" == "aarch64" ]]; then export VSCODE_ARCH="arm64" elif [[ "${UNAME_ARCH}" == "ppc64le" ]]; then export VSCODE_ARCH="ppc64le" From 6fd32bf6ee7d644b05842480424b68432317262a Mon Sep 17 00:00:00 2001 From: Suyun <108112549+Suyun114@users.noreply.github.com> Date: Tue, 24 Sep 2024 20:24:35 +0800 Subject: [PATCH 2/2] fix: check both `arm64` and `aarch64` --- build/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/build.sh b/build/build.sh index 9a79869c50a..8b27da24946 100755 --- a/build/build.sh +++ b/build/build.sh @@ -53,7 +53,7 @@ esac UNAME_ARCH=$( uname -m ) -if [[ "${UNAME_ARCH}" == "aarch64" ]]; then +if [[ "${UNAME_ARCH}" == "aarch64" || "${UNAME_ARCH}" == "arm64" ]]; then export VSCODE_ARCH="arm64" elif [[ "${UNAME_ARCH}" == "ppc64le" ]]; then export VSCODE_ARCH="ppc64le"