-
Notifications
You must be signed in to change notification settings - Fork 51
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 support #666
Comments
Maybe this newly announced funding will result in a new release supporting more targets (including RISC-V).
|
Nice, somebody found money for that guy. Lets hope 🙏 something comes out, my RISC board is getting bored without KUKSA and a second one is on the way already (https://milkv.io/duo 😄 ). |
Just tracking some progress:
is not enough, as this is currently tagged version 0.17 so 0.16.20 is still being pulled from rustls and jsonwebtoken. As a "hack" I tried clonign ring, changing Cargo.toml claiming main to be version 0.16.22 and refernecing it like
However, "unfortunately" they use their version numbers correctly, i.e. the current ring library is not compatible at least with rustls (did not dig deeper). So it looks like
|
Apparently rustls is already work in progress: rustls/rustls#1508 |
So we might wanna try -aftter 0.4.1 release - upgrading some dependecnies. Meanwhile we have the required ring 0.17 released And rusttls as well as jsonwebtoken have versions upgraded to the new ring |
Created a PR (#694) with updated dependencies. |
Nice. Will try on target :) |
With #694 should work on RISC now, keeping this open, as we are not building it by default currently. Let's see what is possible there |
kuksa-client docker might take a while as distroless is not supporting riscv yet However, I guess we can sit this one out, as the pypi wheel should work fine |
Ok let's I played with it, and would suggest post poning kuksa-client support/container a bit. It is not impossible, but it suffers the same issue we had with ARM builds for the GRPC wheels a while ago: They don't exist, so it needs to be compiled. That is more than 3 hours when doing it via QEMU. So let's sit this one out for now. If somebody has a reasonably fast RISC V target, there is no issue why a pip install should not work, but for our CI it seems too heavy currently |
As this question pops up pretty regularly these days... Create this issue for tracking
Currently RISC V is not supported, the main culprit are the required RUST crypto libs for TLS and the JWT tokens that rely on the "ring" base library https://github.com/briansmith/ring
There have been issues and PRs raised for almost two years, but while the Git is sort of active the whole project seems to be semi-abandoned and has not had a release in a long time.
The most recent developments seem to be in this PR,
briansmith/ring#1627
so if RISC V support is crucial for you, try to move things over there.
The text was updated successfully, but these errors were encountered: