mirror of https://github.com/golang/go.git
go/build, runtime/internal/sys: add GOOS=aix
This is the first commit of a series that will add AIX as an operating system target for ppc64 architecture. Updates #25893 Change-Id: I865b67a9c98277c11c1a56107be404ac5253277d Reviewed-on: https://go-review.googlesource.com/138115 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
38861b5127
commit
bf8e6b7027
|
|
@ -4,5 +4,5 @@
|
|||
|
||||
package build
|
||||
|
||||
const goosList = "android darwin dragonfly freebsd js linux nacl netbsd openbsd plan9 solaris windows zos "
|
||||
const goosList = "aix android darwin dragonfly freebsd js linux nacl netbsd openbsd plan9 solaris windows zos "
|
||||
const goarchList = "386 amd64 amd64p32 arm armbe arm64 arm64be ppc64 ppc64le mips mipsle mips64 mips64le mips64p32 mips64p32le ppc riscv riscv64 s390 s390x sparc sparc64 wasm "
|
||||
|
|
|
|||
|
|
@ -0,0 +1,21 @@
|
|||
// Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
|
||||
|
||||
// +build aix
|
||||
|
||||
package sys
|
||||
|
||||
const GOOS = `aix`
|
||||
|
||||
const GoosAndroid = 0
|
||||
const GoosAix = 1
|
||||
const GoosDarwin = 0
|
||||
const GoosDragonfly = 0
|
||||
const GoosFreebsd = 0
|
||||
const GoosLinux = 0
|
||||
const GoosNacl = 0
|
||||
const GoosNetbsd = 0
|
||||
const GoosOpenbsd = 0
|
||||
const GoosPlan9 = 0
|
||||
const GoosSolaris = 0
|
||||
const GoosWindows = 0
|
||||
const GoosZos = 0
|
||||
|
|
@ -7,6 +7,7 @@ package sys
|
|||
const GOOS = `android`
|
||||
|
||||
const GoosAndroid = 1
|
||||
const GoosAix = 0
|
||||
const GoosDarwin = 0
|
||||
const GoosDragonfly = 0
|
||||
const GoosFreebsd = 0
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ package sys
|
|||
const GOOS = `darwin`
|
||||
|
||||
const GoosAndroid = 0
|
||||
const GoosAix = 0
|
||||
const GoosDarwin = 1
|
||||
const GoosDragonfly = 0
|
||||
const GoosFreebsd = 0
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ package sys
|
|||
const GOOS = `dragonfly`
|
||||
|
||||
const GoosAndroid = 0
|
||||
const GoosAix = 0
|
||||
const GoosDarwin = 0
|
||||
const GoosDragonfly = 1
|
||||
const GoosFreebsd = 0
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ package sys
|
|||
const GOOS = `freebsd`
|
||||
|
||||
const GoosAndroid = 0
|
||||
const GoosAix = 0
|
||||
const GoosDarwin = 0
|
||||
const GoosDragonfly = 0
|
||||
const GoosFreebsd = 1
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ package sys
|
|||
const GOOS = `linux`
|
||||
|
||||
const GoosAndroid = 0
|
||||
const GoosAix = 0
|
||||
const GoosDarwin = 0
|
||||
const GoosDragonfly = 0
|
||||
const GoosFreebsd = 0
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ package sys
|
|||
const GOOS = `nacl`
|
||||
|
||||
const GoosAndroid = 0
|
||||
const GoosAix = 0
|
||||
const GoosDarwin = 0
|
||||
const GoosDragonfly = 0
|
||||
const GoosFreebsd = 0
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ package sys
|
|||
const GOOS = `netbsd`
|
||||
|
||||
const GoosAndroid = 0
|
||||
const GoosAix = 0
|
||||
const GoosDarwin = 0
|
||||
const GoosDragonfly = 0
|
||||
const GoosFreebsd = 0
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ package sys
|
|||
const GOOS = `openbsd`
|
||||
|
||||
const GoosAndroid = 0
|
||||
const GoosAix = 0
|
||||
const GoosDarwin = 0
|
||||
const GoosDragonfly = 0
|
||||
const GoosFreebsd = 0
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ package sys
|
|||
const GOOS = `plan9`
|
||||
|
||||
const GoosAndroid = 0
|
||||
const GoosAix = 0
|
||||
const GoosDarwin = 0
|
||||
const GoosDragonfly = 0
|
||||
const GoosFreebsd = 0
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ package sys
|
|||
const GOOS = `solaris`
|
||||
|
||||
const GoosAndroid = 0
|
||||
const GoosAix = 0
|
||||
const GoosDarwin = 0
|
||||
const GoosDragonfly = 0
|
||||
const GoosFreebsd = 0
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ package sys
|
|||
const GOOS = `windows`
|
||||
|
||||
const GoosAndroid = 0
|
||||
const GoosAix = 0
|
||||
const GoosDarwin = 0
|
||||
const GoosDragonfly = 0
|
||||
const GoosFreebsd = 0
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ package sys
|
|||
const GOOS = `zos`
|
||||
|
||||
const GoosAndroid = 0
|
||||
const GoosAix = 0
|
||||
const GoosDarwin = 0
|
||||
const GoosDragonfly = 0
|
||||
const GoosFreebsd = 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue