rocm-cmake icon indicating copy to clipboard operation
rocm-cmake copied to clipboard

rocm_install_targets does not honor cmake install locations

Open trixirt opened this issue 4 months ago • 0 comments

In many linux distros, ROCm is not installed to /opt/rocm, but is packaged as a regular disto package. So the install location should work using normal normal cmake install variables. At https://github.com/ROCm/rocm-cmake/blob/develop/share/rocmcmakebuildtools/cmake/ROCMInstallTargets.cmake#L134 This works for windows, but not linux.

The problem shows up when build amdmigraphx and the install is to /usr/lib/migraphx/lib,include and not the expected /usr/lib,include

trixirt avatar Aug 16 '25 20:08 trixirt