commit | bae57dc28179022ba0b654368efc451e36db6396 | [log] [tgz] |
---|---|---|
author | Brad King <brad.king@kitware.com> | Wed May 31 16:41:49 2023 -0400 |
committer | Brad King <brad.king@kitware.com> | Wed May 31 16:53:47 2023 -0400 |
tree | 01beb28fdb3baad6f1532bba58583a4999ecf294 | |
parent | cc737ae8295156812e697a9d2f3f7b79bf7b72c8 [diff] |
HIP: Fix search for hip-lang CMake package on multiarch distros 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