Merge pull request #150005 from Mic92/go

go: add mipsel/riscv64/s390x support
This commit is contained in:
Jörg Thalheim
2021-12-10 08:29:09 +00:00
committed by GitHub
2 changed files with 8 additions and 1 deletions

View File

@@ -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,

View File

@@ -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");