Allow installation of manylinux wheels on loongarch64 (#10927)

This commit is contained in:
吴小白 2025-01-24 21:36:03 +08:00 committed by GitHub
parent 6e4845fffb
commit 57a2740d90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -165,8 +165,10 @@ impl Arch {
Self::X86 | Self::X86_64 => Some(5),
// manylinux_2_31
Self::Riscv64 => Some(31),
// manylinux_2_36
Self::LoongArch64 => Some(36),
// unsupported
Self::Powerpc | Self::Armv5TEL | Self::Armv6L | Self::LoongArch64 => None,
Self::Powerpc | Self::Armv5TEL | Self::Armv6L => None,
}
}