Commit 82bb7562 authored by Wang Qing's avatar Wang Qing Committed by Commit Bot

[cipd] Detect mips64le vs mips64.

Bug: 867819
Change-Id: Iff107adb7efe366c5ab58f5221c1b9bf3ebb7d5f
Reviewed-on: https://chromium-review.googlesource.com/1159545Reviewed-by: 's avatarRobbie Iannucci <iannucci@chromium.org>
Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
parent 29b7b99e
......@@ -59,7 +59,11 @@ case $UNAME in
ARCH=386
;;
mips*)
# detect mips64le vs mips64.
ARCH=$UNAME
if lscpu | grep -q "Little Endian"; then
ARCH+=le
fi
;;
*)
echo "UNKNOWN Machine architecture: $UNAME"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment