mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-24 05:35:04 +00:00
Update riscv64
Python downloads to allow install on riscv64gc
(#10937)
Closes https://github.com/astral-sh/uv/issues/10883
This commit is contained in:
parent
98e7cd00c8
commit
eeab865194
2 changed files with 12 additions and 9 deletions
|
@ -74,7 +74,10 @@ def prepare_arch(arch: dict) -> tuple[str, str]:
|
|||
case "armv7":
|
||||
family = "Arm(target_lexicon::ArmArchitecture::Armv7)"
|
||||
case "riscv64":
|
||||
family = "Riscv64(target_lexicon::Riscv64Architecture::Riscv64)"
|
||||
# The `gc` variant of riscv64 is the common base instruction set and
|
||||
# is the target in `python-build-standalone`
|
||||
# See https://github.com/astral-sh/python-build-standalone/issues/504
|
||||
family = "Riscv64(target_lexicon::Riscv64Architecture::Riscv64gc)"
|
||||
case value:
|
||||
family = value.capitalize()
|
||||
variant = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue