Package: libamdhip64-dev
Version: 5.7.1-5
Severity: normal

Dear Maintainer,

I'm trying to use HIP from CMake, using the packages available in
Trixie. I'm running into an issue where CMake is unable to find
hip-lang-config.cmake.

The code I'm trying to build does an enable_language(HIP), which fails
with the following error:

CMake Error at 
/usr/share/cmake-3.31/Modules/CMakeDetermineHIPCompiler.cmake:217 (message):
  The ROCm root directory:

   /usr

  does not contain the HIP runtime CMake package, expected at one of:

   /usr/lib/cmake/hip-lang/hip-lang-config.cmake
   /usr/lib64/cmake/hip-lang/hip-lang-config.cmake


I do have a hip-lang-config.cmake in 
/usr/lib/x86_64-linux-gnu/cmake/hip-lang/hip-lang-config.cmake
I have tried to set CMAKE_HIP_COMPILER_ROCM_ROOT, but it fails because
CMake doggedly wants to have either lib or lib64 after the given root.

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.10-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
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     6.0+git20231212.4510c28+dfsg-3+b2
ii  libamdhip64-5        5.7.1-5
ii  libhiprtc-builtins5  5.7.1-5
ii  libhsa-runtime-dev   5.7.1-3

libamdhip64-dev recommends no packages.

Versions of packages libamdhip64-dev suggests:
pn  libamdhip64-doc  <none>

-- no debconf information

Reply via email to