- Package:
- libamdhip64-dev
- Source:
- libamdhip64-dev
- Description:
- Header files for the AMD implementation of HIP
- Submitter:
- Matthias Urlichs
- Date:
- 2026-02-13 08:53:02 UTC
- Severity:
- normal
Hi,
trying to build ollama with ROCm/HIP support failed because it looked in
/usr/llvm/bin to find the "amdgpu-arch" executable instead of
/usr/bin. The former doesn#t exist on Debian.
The culprit appears to be line 58 in
usr/lib/x86_64-linux-gnu/cmake/hip/hip-config-amd.cmake ::
set(HIP_CLANG_ROOT "${ROCM_PATH}/llvm")
Removing the /llvm part fixes the problem.