Skip to content

Commit

Permalink
Allow installation of manylinux wheels on riscv64
Browse files Browse the repository at this point in the history
auditwheel is capable of generating riscv64 wheels for manylinux_2_31
and above.  Here we modify uv-platform-tags so that those wheels can
be installed using uv.

Fixes: #8889
  • Loading branch information
markdryan committed Nov 8, 2024
1 parent 0db3884 commit 0850b05
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/uv-platform-tags/src/platform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,10 @@ impl Arch {
}
// manylinux 1
Self::X86 | Self::X86_64 => Some(5),
// manylinux_2_31
Self::Riscv64 => Some(31),
// unsupported
Self::Armv6L | Self::Riscv64 => None,
Self::Armv6L => None,
}
}
}

0 comments on commit 0850b05

Please sign in to comment.