Public bug reported:

When building packages using CMake 4.x, configuration fails with:

CMake Error at /usr/share/cmake-4.2/Modules/CMakeDetermineHIPCompiler.cmake:240 
(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

CMake looks for hip-lang in /usr/lib/cmake/ but Debian multiarch
installs it to /usr/lib/x86_64-linux-gnu/cmake/hip-lang/. A symlink is
needed.

Fix: Create debian/libamdhip64-dev.links:

usr/lib/${DEB_HOST_MULTIARCH}/cmake/hip-lang usr/lib/cmake/hip-lang

** Affects: rocm-hipamd (Ubuntu)
     Importance: Undecided
     Assignee: Igor Luppi (igorluppi)
         Status: In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2143636

Title:
   libamdhip64-dev: CMake 4.x cannot find hip-lang config due to missing
  symlink

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rocm-hipamd/+bug/2143636/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to