threefoldtech / mycelium

End-2-end encrypted IPv6 overlay network
Apache License 2.0
26 stars 12 forks source link

RISC-V builds #104

Open LeeSmet opened 8 months ago

LeeSmet commented 8 months ago

The current quic version (actually quic-proto) depends on version 0.16 of ring, which only builds for x86 and arm. As a result, a regular build for RISC-V is currently not possible. This would be solved once quic-proto is updated to depend on ring v0.17 or higher. Tracking PR https://github.com/quinn-rs/quinn/pull/1715

LeeSmet commented 4 months ago

Quinn 0.11 has been released, so we can make progress here now

LeeSmet commented 4 months ago

We want to target 64 bit, running the linux os. It makes sense to expect the gc extenion (g expanding to imafd), since most platforms support this (at least those we reasonably expect to run a linux OS on and do something else). The only pickle right now is that the musl platform for this target riscv64gc-unknown-linux-musl is only at tier3, so while it is recognized, no builds are shipped and this essentially requires a nightly compiler

LeeSmet commented 4 months ago

It seems cross also has no support at the moment for riscv64gc-unknown-linux-musl so we'll push this back for now

LeeSmet commented 2 months ago

Removed from planning since there is no clear timeline when this would be feasible right now, and it does not have priority.