Skip to content

HIP: Fix search for hip-lang CMake package on multiarch distros

Brad King requested to merge brad.king/cmake:hip-multiarch into master

We need CMAKE_LIBRARY_ARCHITECTURE to find the package before HIP compiler ABI detection. However, if HIP is the first enabled language, the value is not known until CMAKE_HIP_LIBRARY_ARCHITECTURE is determined by the ABI detection step. Resolve this by detecting CMAKE_HIP_LIBRARY_ARCHITECTURE from the compiler id output.

Fixes: #24562 (closed)

Merge request reports