Merge pull request #150005 from Mic92/go
go: add mipsel/riscv64/s390x support
This commit is contained in:
@@ -40,8 +40,11 @@ let
|
||||
"armv5tel" = "arm";
|
||||
"armv6l" = "arm";
|
||||
"armv7l" = "arm";
|
||||
"powerpc64le" = "ppc64le";
|
||||
"mips" = "mips";
|
||||
"mipsel" = "mipsle";
|
||||
"riscv64" = "riscv64";
|
||||
"s390x" = "s390x";
|
||||
"powerpc64le" = "ppc64le";
|
||||
}.${platform.parsed.cpu.name} or (throw "Unsupported system");
|
||||
|
||||
# We need a target compiler which is still runnable at build time,
|
||||
|
||||
@@ -40,6 +40,10 @@ let
|
||||
"armv5tel" = "arm";
|
||||
"armv6l" = "arm";
|
||||
"armv7l" = "arm";
|
||||
"mips" = "mips";
|
||||
"mipsel" = "mipsle";
|
||||
"riscv64" = "riscv64";
|
||||
"s390x" = "s390x";
|
||||
"powerpc64le" = "ppc64le";
|
||||
}.${platform.parsed.cpu.name} or (throw "Unsupported system");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user