Fix build script for Mac M1 (#1257)
## Description `uname -m` will be `arm64` not `arm` ## Type of change <!--- Please check the type of change your PR introduces: ---> - [ ] 🌻 Feature - [ ] 🐛 Bugfix - [ ] 🗺️ Documentation - [ ] 🤖 Test - [ ] 💻 CI/Deployment - [x] 🐹 Trivial/Minor ## Test Plan <!-- How will this be tested prior to merging.--> - [x] 💪 Manual - [ ] ⚡ Unit test - [ ] 💚 E2E
This commit is contained in:
parent
63e1cec71c
commit
7919d5a321
@ -10,7 +10,7 @@ CORSO_BUILD_CACHE="/tmp/.corsobuild" # shared persistent cache
|
|||||||
case "$(uname -m)" in
|
case "$(uname -m)" in
|
||||||
x86_64) GOARCH="amd64" ;;
|
x86_64) GOARCH="amd64" ;;
|
||||||
aarch64) GOARCH="arm64" ;;
|
aarch64) GOARCH="arm64" ;;
|
||||||
arm) GOARCH="arm" ;;
|
arm64) GOARCH="arm64" ;;
|
||||||
i386) GOARCH="386" ;;
|
i386) GOARCH="386" ;;
|
||||||
*) echo "Unknown architecture" && exit 0 ;;
|
*) echo "Unknown architecture" && exit 0 ;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user