1
0
mirror of https://github.com/golang/go synced 2024-11-12 06:20:22 -07:00

go/build: add GOARCH=arm64

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>
This commit is contained in:
Aram Hăvărneanu 2015-03-08 13:55:49 +01:00
parent c23e21e672
commit 272921b5d8
2 changed files with 3 additions and 1 deletions

View File

@ -1396,6 +1396,8 @@ func ArchChar(goarch string) (string, error) {
return "6", nil return "6", nil
case "arm": case "arm":
return "5", nil return "5", nil
case "arm64":
return "7", nil
case "ppc64", "ppc64le": case "ppc64", "ppc64le":
return "9", nil return "9", nil
} }

View File

@ -5,4 +5,4 @@
package build package build
const goosList = "android darwin dragonfly freebsd linux nacl netbsd openbsd plan9 solaris windows " 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 "