Skip to content

rocm_install_targets does not honor cmake install locations #276

@trixirt

Description

@trixirt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions