Missing Clang RT location in - /opt/rocm/hip/lib/cmake/hip/hip-config.cmake
CMake Error at /opt/rocm/hip/lib/cmake/hip/hip-config.cmake:331 (message):
clangrt builtins lib not found
Call Stack (most recent call first):
CMakeLists.txt:181 (find_package)
On RedHat
In file /opt/rocm/hip/lib/cmake/hip/hip-config.cmake the clang_rt.builtins library is located in/usr/lib64/clang/ and not in lib-- need to add directory structure for RedHat.
RedHat & SLES
https://github.com/ROCm-Developer-Tools/hipamd/blob/474e8620099a463ad2ced821ae7400609b29bf7f/hip-config.cmake.in#L294
Missing Clang RT location in -
/opt/rocm/hip/lib/cmake/hip/hip-config.cmake
On RedHat
In file
/opt/rocm/hip/lib/cmake/hip/hip-config.cmake
theclang_rt.builtins
library is located in/usr/lib64/clang/
and not inlib
-- need to add directory structure for RedHat.