Skip to content

Commit 4d85340

Browse files
Add riscv64 as a supported manylinux architecture (#751)
Co-authored-by: Brett Cannon <brett@python.org>
1 parent 4dce761 commit 4d85340

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/packaging/_manylinux.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,15 @@ def _have_compatible_abi(executable: str, archs: Sequence[str]) -> bool:
5555
return _is_linux_armhf(executable)
5656
if "i686" in archs:
5757
return _is_linux_i686(executable)
58-
allowed_archs = {"x86_64", "aarch64", "ppc64", "ppc64le", "s390x", "loongarch64"}
58+
allowed_archs = {
59+
"x86_64",
60+
"aarch64",
61+
"ppc64",
62+
"ppc64le",
63+
"s390x",
64+
"loongarch64",
65+
"riscv64",
66+
}
5967
return any(arch in allowed_archs for arch in archs)
6068

6169

0 commit comments

Comments
 (0)