Hi Matthias, On 2025-10-21 06:46, Matthias Klose (Ubuntu) wrote:
rocm-llvm doesn't build on riscv64, the libhsa-runtime-dev build dependency is not available, and rocr-runtime's b-d rocm-device-libs-21 (built by rocm-llvm) is also not available.
This is, unfortunately, due to a circular dependency between src:rocm-llvm and src:rocr-runtime. I forgot about that when I added riscv64 to the architecture list. A proposed a fix for this on the mailing list [1], but it basically is splitting rocm-device-libs-21 out into its own source package to break the circular dependency. It shouldn't be hard. The device libraries are basically built using an isolated source tree in a separate step in src:rocm-llvm anyway.
Sincerely, Cory Bloor [1]: https://lists.debian.org/debian-ai/2025/10/msg00088.html

