From: Shenghou Ma Date: Tue, 19 Jan 2016 03:55:11 +0000 (-0500) Subject: build: test linux/mips64 and linux/mips64le with buildall.bash X-Git-Tag: go1.6rc1~95 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3208d92b78eed4d6abfedf3799f51b37826351a6;p=gostls13.git 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 Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- 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