From 7919d5a3219b9618628ddc4023305a348d4650af Mon Sep 17 00:00:00 2001 From: Vaibhav Kamra Date: Thu, 20 Oct 2022 11:44:51 -0700 Subject: [PATCH] Fix build script for Mac M1 (#1257) ## Description `uname -m` will be `arm64` not `arm` ## Type of change - [ ] :sunflower: Feature - [ ] :bug: Bugfix - [ ] :world_map: Documentation - [ ] :robot: Test - [ ] :computer: CI/Deployment - [x] :hamster: Trivial/Minor ## Test Plan - [x] :muscle: Manual - [ ] :zap: Unit test - [ ] :green_heart: E2E --- build/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/build.sh b/build/build.sh index 208538b93..f0273122c 100755 --- a/build/build.sh +++ b/build/build.sh @@ -10,7 +10,7 @@ CORSO_BUILD_CACHE="/tmp/.corsobuild" # shared persistent cache case "$(uname -m)" in x86_64) GOARCH="amd64" ;; aarch64) GOARCH="arm64" ;; -arm) GOARCH="arm" ;; +arm64) GOARCH="arm64" ;; i386) GOARCH="386" ;; *) echo "Unknown architecture" && exit 0 ;; esac