Public bug reported:
Hello,
It looks like CMakeDetermineHIPCompiler only searches for non-multiarch paths
to look for hip-lang-config.cmake
but in Debian/Ubuntu these are installed in multiarch path. So we should have a
proper implementation of
corrected search paths for HIP compiler.
Please see the build error from spfft:
```
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
Call Stack (most recent call first):
CMakeLists.txt:128 (enable_language)
-- Configuring incomplete, errors occurred!
cd obj-x86_64-linux-gnu && tail -v -n \+0 CMakeCache.txt
```
ref:
https://launchpadlibrarian.net/850529853/buildlog_ubuntu-resolute-amd64.spfft_1.1.1-4ubuntu2_BUILDING.txt.gz
** Affects: cmake (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2143705
Title:
Missing multiarch search path for CMakeDetermineHIPCompiler
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/2143705/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs