aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/bootstrap/buildenv.sh
diff options
context:
space:
mode:
authorGravatar Nishidha Panpaliya <nishidha@us.ibm.com>2016-12-20 18:19:43 +0000
committerGravatar Klaus Aehlig <aehlig@google.com>2016-12-21 09:46:46 +0000
commitaaee64e02fb5d110ccbed0eb903f5f2187071e97 (patch)
treef8e21836f5a037b3ffaa16411efb89e1eb0463f9 /scripts/bootstrap/buildenv.sh
parent85b1f112e091cc3316ced14593f804c4aa83e191 (diff)
Power support
Closes #2139. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2139 PiperOrigin-RevId: 142570236 MOS_MIGRATED_REVID=142570236
Diffstat (limited to 'scripts/bootstrap/buildenv.sh')
-rwxr-xr-xscripts/bootstrap/buildenv.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/bootstrap/buildenv.sh b/scripts/bootstrap/buildenv.sh
index dbd7d24b42..4e4d87e1e9 100755
--- a/scripts/bootstrap/buildenv.sh
+++ b/scripts/bootstrap/buildenv.sh
@@ -54,6 +54,10 @@ if [ "${MACHINE_TYPE}" = 's390x' ]; then
MACHINE_IS_Z='yes'
fi
+if [ "${MACHINE_TYPE}" = 'ppc64' -o "${MACHINE_TYPE}" = 'ppc64le' ]; then
+ MACHINE_IS_64BIT='yes'
+fi
+
# Extension for executables.
EXE_EXT=""
case "${PLATFORM}" in