aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Arielle Albon <arielle@hopeless-newbie.co.uk>2018-06-20 05:51:18 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-06-20 05:53:02 -0700
commit886d01c89fca32e46f5841081eb3288e5b4f313b (patch)
tree99d3601c166bc492637542cab9babe8b495af730 /scripts
parent7508195014ccbe63069fa9b51835ce26019df8ee (diff)
Add Arm64 support
Based on work of Sun Zhiyi <zhiyisun@gmail.com>. Closes #5360. PiperOrigin-RevId: 201339882
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bootstrap/buildenv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bootstrap/buildenv.sh b/scripts/bootstrap/buildenv.sh
index 0689b95919..0c7e8d443f 100755
--- a/scripts/bootstrap/buildenv.sh
+++ b/scripts/bootstrap/buildenv.sh
@@ -53,7 +53,7 @@ PLATFORM="$(uname -s | tr 'A-Z' 'a-z')"
MACHINE_TYPE="$(uname -m)"
MACHINE_IS_64BIT='no'
-if [ "${MACHINE_TYPE}" = 'amd64' -o "${MACHINE_TYPE}" = 'x86_64' -o "${MACHINE_TYPE}" = 's390x' ]; then
+if [ "${MACHINE_TYPE}" = 'amd64' -o "${MACHINE_TYPE}" = 'x86_64' -o "${MACHINE_TYPE}" = 's390x' -o "${MACHINE_TYPE}" = 'aarch64' ]; then
MACHINE_IS_64BIT='yes'
fi