1
0
mirror of https://github.com/golang/go synced 2024-09-30 17:38:33 -06:00

cmd/dist,internal/platform: add openbsd/riscv64 port

Updates #55999

Change-Id: I3c07f776919e36e4c1fdc5346f7622e5901a2902
Reviewed-on: https://go-review.googlesource.com/c/go/+/518624
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Aaron Bieber <deftly@gmail.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Joel Sing <joel@sing.id.au>
This commit is contained in:
Joel Sing 2022-09-18 02:34:09 +10:00
parent a36070cbd5
commit 0362f5ba14
2 changed files with 7 additions and 3 deletions

View File

@ -1729,6 +1729,7 @@ var cgoEnabled = map[string]bool{
"openbsd/arm64": true,
"openbsd/mips64": true,
"openbsd/ppc64": false,
"openbsd/riscv64": false,
"plan9/386": false,
"plan9/amd64": false,
"plan9/arm": false,
@ -1744,9 +1745,10 @@ var cgoEnabled = map[string]bool{
// get filtered out of cgoEnabled for 'dist list'.
// See go.dev/issue/56679.
var broken = map[string]bool{
"linux/sparc64": true, // An incomplete port. See CL 132155.
"openbsd/ppc64": true, // An incomplete port: go.dev/issue/56001.
"openbsd/mips64": true, // Broken: go.dev/issue/58110.
"linux/sparc64": true, // An incomplete port. See CL 132155.
"openbsd/mips64": true, // Broken: go.dev/issue/58110.
"openbsd/ppc64": true, // An incomplete port: go.dev/issue/56001.
"openbsd/riscv64": true, // An incomplete port: go.dev/issue/55999.
}
// List of platforms which are first class ports. See go.dev/issue/38874.

View File

@ -49,6 +49,7 @@ var List = []OSArch{
{"openbsd", "arm64"},
{"openbsd", "mips64"},
{"openbsd", "ppc64"},
{"openbsd", "riscv64"},
{"plan9", "386"},
{"plan9", "amd64"},
{"plan9", "arm"},
@ -102,6 +103,7 @@ var distInfo = map[OSArch]osArchInfo{
{"openbsd", "arm64"}: {CgoSupported: true},
{"openbsd", "mips64"}: {CgoSupported: true, Broken: true},
{"openbsd", "ppc64"}: {Broken: true},
{"openbsd", "riscv64"}: {Broken: true},
{"plan9", "386"}: {},
{"plan9", "amd64"}: {},
{"plan9", "arm"}: {},