Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,6 @@ get_architecture() {
fi


# If we are building a linux container on an M1 chip, let's
# download a86_64 binaries and assume the docker image is
# for amd64. We do this because we don't have router binaries
# for aarch64 for any OS right now. If this changes in the
# future, we'll need to re-visit this hack.
if [ "$_ostype" = "Linux" ] && [ "$_cputype" = "aarch64" ]; then
_cputype="x86_64"
fi

case "$_ostype" in
Linux)
_ostype=unknown-linux-gnu
Expand All @@ -133,7 +124,7 @@ get_architecture() {
esac

case "$_cputype" in
x86_64 | x86-64 | x64 | amd64)
x86_64 | x86-64 | x64 | amd64 | aarch64)
;;
*)
err "no precompiled binaries available for CPU architecture: $_cputype"
Expand Down