5
0
mirror of https://github.com/astral-sh/setup-uv.git synced 2025-12-21 11:01:40 +00:00

feat: support s390x and powerpc (#289)

This patch adds support for `s390x` and `powerpc`.

According
https://github.com/nodejs/node/blob/main/BUILDING.md#platform-list ,
only `powerpcle` available on Linux. So we always use
`uv-powerpc64le-unknown-linux-gnu`
This commit is contained in:
Zxilly
2025-02-16 05:30:44 +08:00
committed by GitHub
parent 1ffa6dc3ad
commit bb8d247e1a
3 changed files with 12 additions and 1 deletions

2
dist/setup/index.js generated vendored
View File

@@ -95648,6 +95648,8 @@ function getArch() {
ia32: "i686",
x64: "x86_64",
arm64: "aarch64",
s390x: "s390x",
ppc64: "powerpc64le",
};
if (arch in archMapping) {
return archMapping[arch];