diff options
author | Shenghou Ma <minux@golang.org> | 2016-02-25 00:52:16 -0500 |
---|---|---|
committer | Minux Ma <minux@golang.org> | 2016-02-26 03:58:58 +0000 |
commit | c8579e57cb1f1c32a99dd57314c5ced1a457dde3 (patch) | |
tree | 7297ff9245242199d87ee67cfcbe5d2fb4921652 /src/buildall.bash | |
parent | 7b74921d561fa3e8df4242cef692987f1f5975b4 (diff) | |
download | go-c8579e57cb1f1c32a99dd57314c5ced1a457dde3.tar.gz go-c8579e57cb1f1c32a99dd57314c5ced1a457dde3.zip |
build: use go tool dist list
Change-Id: I9b79bd301d0b75ca1f16d4a05e3cb687a8428c14
Reviewed-on: https://go-review.googlesource.com/19884
Run-TryBot: Minux Ma <minux@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/buildall.bash')
-rwxr-xr-x | src/buildall.bash | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/buildall.bash b/src/buildall.bash index f686dd8996..a322fe537a 100755 --- a/src/buildall.bash +++ b/src/buildall.bash @@ -32,13 +32,13 @@ if [ "$pattern" = "" ]; then pattern=. 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 | 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 GOROOT="$(cd .. && pwd)" +# put linux, nacl first in the target list to get all the architectures up front. +targets="$((../bin/go tool dist list | sed -n 's/^\(.*\)\/\(.*\)/\1-\2/p'; echo linux-386-387 linux-arm-arm5) | sort | egrep -v android-arm | egrep "$pattern" | egrep 'linux|nacl') +$(../bin/go tool dist list | sed -n 's/^\(.*\)\/\(.*\)/\1-\2/p' | egrep -v 'android-arm|darwin-arm' | egrep "$pattern" | egrep -v 'linux|nacl')" + failed=false for target in $targets do |