Skip to content

Support TheRock ROCm “Python-managed” install paths (non-/opt/rocm) #2157

@akao-amd

Description

@akao-amd

After installing the latest ROCm 7.12 (TheRock / ROCm Core SDK stream) following the official guide , and initializing with: rocm-sdk init, the resulting SDK layout does not follow the traditional /opt/rocm or /opt/rocm-x.y.z convention on a vanilla ubuntu:22.04 base image.

Instead, the SDK is installed / expanded under a Python site-packages managed location, e.g.:

/usr/local/lib/python3.10/site-packages/_rocm_sdk_core
(and other rocm_sdk* directories)

This path change breaks tools and scripts that assume ROCm lives under /opt/rocm* (e.g., hardcoded discovery, PATH/CMAKE_PREFIX_PATH logic, or “rocm root” probing).

Request / ask
As TheRock-derived ROCm becomes a priority target, please consider updating the tooling to discover and support ROCm installations rooted in the rocm_sdk* site-packages paths (in addition to /opt/rocm*).

Metadata

Metadata

Assignees

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