-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RISC-V platform support? #10883
Comments
I'm generally supportive of this. We added RISC-V builds to |
Current Rust Platform Support for RISC-V LinuxTier 2 with Host Tools
Tier 3
Ref: https://doc.rust-lang.org/1.84.0/rustc/platform-support.html |
We already support risc-v for installing packages (#8934). For platforms without prebuilt binaries such as risc-v, you can install uv with |
@konstin Thanks for the information. I didn't find it as I didn't search for PRs. So, I guess I should make a feature request in https://github.com/astral-sh/python-build-standalone ? I don't know how hard it will be to build Python against, say, linux-riscv64gc-musl target, which should enable installing Python with uv. |
The downloads use the |
Seems like we should change our builds to use the extended name? We'll discuss that upstream in astral-sh/python-build-standalone#504 |
Yes, and I remember G actually means "general" in the sense of general computing. We could probably follow Rust Platform Support, like supporting riscv64gc-unknown-linux-gnu and riscv64gc-unknown-linux-musl, since Tier 2 supported targets of Rust means there's meaningful amount of user interest so they are "guaranteed to build" while Tier 3 targets are supported with basically best efforts. |
Didn't mean to close this :) |
Summary
As now RISC-V MCUs, dev boards and even servers get more and more popular, I'd really like to see uv support for RISC-V Linux platforms. There're officially supported RISC-V cpythons, so I think at least pure Python packages run fine on RISC-V machines. I think rustc can happily compile uv on RISC-V machines, but I don't know if there's anything else to get to the minimum support.
Example
No response
The text was updated successfully, but these errors were encountered: