aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/bootstrap/buildenv.sh
diff options
context:
space:
mode:
authorGravatar jmtatsch <tatsch@gmail.com>2016-01-25 19:13:23 +0000
committerGravatar Lukacs Berki <lberki@google.com>2016-01-26 13:05:37 +0000
commit7c4afb6f52e8d425950ab4c046ca92237277ca11 (patch)
treeab9f296d6b340af25e487d68a2aae97b53d4f835 /scripts/bootstrap/buildenv.sh
parent6c6629ec707d23fbdb582bcede1dd9c967a9357e (diff)
Update buildenv.sh to detect aarch64 as ARM
Update buildenv.sh to detect aarch64 as on Nvidias Jetson TX1 as ARM architecture. Final goal is to build tensorflow on jetson tx1 -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/814 MOS_MIGRATED_REVID=112967980
Diffstat (limited to 'scripts/bootstrap/buildenv.sh')
-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 57c86ba98b..c2b30facf1 100755
--- a/scripts/bootstrap/buildenv.sh
+++ b/scripts/bootstrap/buildenv.sh
@@ -32,7 +32,7 @@ if [ "${MACHINE_TYPE}" = 'amd64' -o "${MACHINE_TYPE}" = 'x86_64' ]; then
fi
MACHINE_IS_ARM='no'
-if [ "${MACHINE_TYPE}" = 'arm' -o "${MACHINE_TYPE}" = 'armv7l' ]; then
+if [ "${MACHINE_TYPE}" = 'arm' -o "${MACHINE_TYPE}" = 'armv7l' -o "${MACHINE_TYPE}" = 'aarch64' ]; then
MACHINE_IS_ARM='yes'
fi