]> Cypherpunks repositories - gostls13.git/commitdiff
androidtest.bash: set GOARM=7
authorDavid Crawshaw <crawshaw@golang.org>
Mon, 26 Oct 2015 15:15:09 +0000 (11:15 -0400)
committerDavid Crawshaw <crawshaw@golang.org>
Mon, 26 Oct 2015 15:20:02 +0000 (15:20 +0000)
It's the only ARM version we have ever supported on android.
(Not setting it caused some builder timeouts.)

Change-Id: I26061434252ff2a236bb31d95787a1c582d24b3f
Reviewed-on: https://go-review.googlesource.com/16295
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
src/androidtest.bash

index 326bce6608f861b0c2686e5b88fb31d46dbe1722..84c2222b24702422b7e2d37b23908d7bf5c660dc 100755 (executable)
@@ -23,6 +23,14 @@ if [ "$GOOS" != "android" ]; then
        exit 1
 fi
 
+if [ -z $GOARM ]; then
+       export GOARM=7
+fi
+if [ "$GOARM" != "7" ]; then
+       echo "android only supports GOARM=7, got GOARM=$GOARM" 1>&2
+       exit 1
+fi
+
 export CGO_ENABLED=1
 unset GOBIN