aboutsummaryrefslogtreecommitdiff
path: root/src/buildall.bash
diff options
context:
space:
mode:
authorShenghou Ma <minux@golang.org>2016-01-18 22:55:11 -0500
committerMinux Ma <minux@golang.org>2016-01-19 04:43:44 +0000
commit3208d92b78eed4d6abfedf3799f51b37826351a6 (patch)
treee38a9b78f3362ea8a55eaea64571e59da3e371de /src/buildall.bash
parent14aacc2fd8abe054ca7e63a141e87b2844623303 (diff)
downloadgo-3208d92b78eed4d6abfedf3799f51b37826351a6.tar.gz
go-3208d92b78eed4d6abfedf3799f51b37826351a6.zip
build: test linux/mips64 and linux/mips64le with buildall.bash
Both mips64 architectures share the same runtime/rt0 file, so we have to hardcode them in buildall.bash. Ideally we should have cmd/dist report all supported platforms, see #12270. Change-Id: I08ce35cfe0a831af5e1e8255b305efd38386fa52 Reviewed-on: https://go-review.googlesource.com/18687 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/buildall.bash')
-rwxr-xr-xsrc/buildall.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildall.bash b/src/buildall.bash
index ba23d31a50..f686dd8996 100755
--- a/src/buildall.bash
+++ b/src/buildall.bash
@@ -33,7 +33,7 @@ if [ "$pattern" = "" ]; then
fi
# put linux, nacl first in the target list to get all the architectures up front.
-targets="$((ls runtime | sed -n 's/^rt0_\(.*\)_\(.*\)\.s/\1-\2/p'; echo linux-386-387 linux-arm-arm5) | sort | egrep -v android-arm | egrep "$pattern" | egrep 'linux|nacl')
+targets="$((ls runtime | sed -n 's/^rt0_\(.*\)_\(.*\)\.s/\1-\2/p'; echo linux-386-387 linux-arm-arm5) | sort | sed -e 's|linux-mips64x|linux-mips64 linux-mips64le|' | egrep -v android-arm | egrep "$pattern" | egrep 'linux|nacl')
$(ls runtime | sed -n 's/^rt0_\(.*\)_\(.*\)\.s/\1-\2/p' | egrep -v 'android-arm|darwin-arm' | egrep "$pattern" | egrep -v 'linux|nacl')"
./make.bash || exit 1