]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: allow gohostarch to be s390x
authorMichael Munday <munday@ca.ibm.com>
Mon, 21 Mar 2016 15:02:55 +0000 (11:02 -0400)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 22 Mar 2016 01:04:26 +0000 (01:04 +0000)
Should let the s390x builder progress a little further.

Change-Id: I5eab5f384b0b039f8e246ba69ecfb24de08625d2
Reviewed-on: https://go-review.googlesource.com/20965
Reviewed-by: Minux Ma <minux@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/cmd/dist/util.go

index c3e2a4128716f7ddc7e0ebd4366aede61aac2133..57b1d2dd8421ea84075a0ebbfcdd3b33365bc1c2 100644 (file)
@@ -452,6 +452,8 @@ func main() {
                        } else {
                                gohostarch = "mips64le"
                        }
+               case strings.Contains(out, "s390x"):
+                       gohostarch = "s390x"
                case gohostos == "darwin":
                        if strings.Contains(run("", CheckExit, "uname", "-v"), "RELEASE_ARM_") {
                                gohostarch = "arm"