On 2025-07-01 00:13, Cordell Bloor wrote:
clang-17: error: cannot find HIP runtime; provide its path via '--rocm-path', or pass '-nogpuinc' to build without HIP runtimeThere are a few other things you can do with the hipcc package, but it seems questionable that you cannot compile HIP programs with the HIP compiler unless you've installed its recommended packages.
Reflecting on this a bit further, I suppose that you can still build with '-nogpuinc' as the error message suggests (even if that is a very niche use case). And, the hipconfig tool works even without libamdhip64-dev.
I still think Depends is the proper relationship between hipcc and libamdhip64-dev, but there is an argument to be made that Recommends is sufficient.
I don't feel confident making a final decision on this matter alone. What do you folks think?
Sincerely, Cory Bloor