Package: libamdhip64-dev
Version: 6.4.3-5
Severity: important

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.


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (750, 'testing'), (700, 'stable'), (600, 
'oldstable'), (500, 'stable-security'), (500, 'oldstable-security'), (300, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.19-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libamdhip64-dev depends on:
ii  libamd-comgr-dev     7.0.2+dfsg-3
ii  libamdhip64-6        6.4.3-5
ii  libhiprtc-builtins6  6.4.3-5
ii  libhiprtc6           6.4.3-5
ii  libhsa-runtime-dev   6.4.3+dfsg-4

libamdhip64-dev recommends no packages.

Versions of packages libamdhip64-dev suggests:
pn  hip-utils  <none>
ii  hipcc      7.0.2+dfsg-3

-- no debconf information

Reply via email to