]> Cypherpunks repositories - gostls13.git/commitdiff
go/build: add GOARCH=arm64
authorAram Hăvărneanu <aram@mgk.ro>
Sun, 8 Mar 2015 12:55:49 +0000 (13:55 +0100)
committerAram Hăvărneanu <aram@mgk.ro>
Mon, 16 Mar 2015 18:44:35 +0000 (18:44 +0000)
Change-Id: I51db032e3dc2762d94e4000914b30813946250f7
Reviewed-on: https://go-review.googlesource.com/7044
Reviewed-by: Minux Ma <minux@golang.org>
Reviewed-by: Dave Cheney <dave@cheney.net>
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/go/build/build.go
src/go/build/syslist.go

index fc03ddac98a155f496dca6585e08ce5108a6cb16..b1fb9ef94fb7d47a77e2bd476b9c79983d231a57 100644 (file)
@@ -1396,6 +1396,8 @@ func ArchChar(goarch string) (string, error) {
                return "6", nil
        case "arm":
                return "5", nil
+       case "arm64":
+               return "7", nil
        case "ppc64", "ppc64le":
                return "9", nil
        }
index 9246cbf5572caf2c2304d6fd03844eccc5a21425..e84a06666f11a0673fcd1547be5e010b6d25b624 100644 (file)
@@ -5,4 +5,4 @@
 package build
 
 const goosList = "android darwin dragonfly freebsd linux nacl netbsd openbsd plan9 solaris windows "
-const goarchList = "386 amd64 amd64p32 arm ppc64 ppc64le "
+const goarchList = "386 amd64 amd64p32 arm arm64 ppc64 ppc64le "