From 17bdac1aee64f675352581e104a0adea939f1576 Mon Sep 17 00:00:00 2001 From: mayeut Date: Sat, 4 Jan 2025 13:23:54 +0100 Subject: [PATCH] feat: add musllinux riscv64 support --- src/auditwheel/policy/__init__.py | 1 + src/auditwheel/policy/musllinux-policy.json | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/auditwheel/policy/__init__.py b/src/auditwheel/policy/__init__.py index 874fb27a..f38ab437 100644 --- a/src/auditwheel/policy/__init__.py +++ b/src/auditwheel/policy/__init__.py @@ -286,6 +286,7 @@ def _fixup_musl_libc_soname(libc: Libc, arch: str, whitelist): "s390x": "libc.musl-s390x.so.1", "ppc64le": "libc.musl-ppc64le.so.1", "armv7l": "libc.musl-armv7.so.1", + "riscv64": "libc.musl-riscv64.so.1", } } new_whitelist = [] diff --git a/src/auditwheel/policy/musllinux-policy.json b/src/auditwheel/policy/musllinux-policy.json index b1030996..f2f6a06f 100644 --- a/src/auditwheel/policy/musllinux-policy.json +++ b/src/auditwheel/policy/musllinux-policy.json @@ -21,6 +21,8 @@ "s390x": { }, "armv7l": { + }, + "riscv64": { } }, "lib_whitelist": ["libc.so", "libz.so.1"], @@ -42,6 +44,8 @@ "s390x": { }, "armv7l": { + }, + "riscv64": { } }, "lib_whitelist": ["libc.so", "libz.so.1"],