Skip to content

Commit

Permalink
Add platform tag support for LoongArch (#693)
Browse files Browse the repository at this point in the history
Co-authored-by: Brett Cannon <brett@python.org>
  • Loading branch information
loongson-zn and brettcannon committed Jul 7, 2023
1 parent e8f839f commit 2f80de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packaging/_manylinux.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _have_compatible_abi(executable: str, arch: str) -> bool:
return _is_linux_armhf(executable)
if arch == "i686":
return _is_linux_i686(executable)
return arch in {"x86_64", "aarch64", "ppc64", "ppc64le", "s390x"}
return arch in {"x86_64", "aarch64", "ppc64", "ppc64le", "s390x", "loongarch64"}


# If glibc ever changes its major version, we need to know what the last
Expand Down

0 comments on commit 2f80de7

Please sign in to comment.