-
Notifications
You must be signed in to change notification settings - Fork 215
[Issue]: incorrect cmake information with TheRock 7.12 Debian install #4286
Description
Problem Description
Error...
CMake Error at /opt/rocm/core-7.12/lib/cmake/hip/hip-config.cmake:157 (message):
Failed to detect HIP_PLATFORM using HIPCONFIG_EXEC
(HIPCONFIG_EXEC-NOTFOUND):
Call Stack (most recent call first):
mlir/lib/Dialect/Rock/IR/CMakeLists.txt:55 (find_package)
but it was there... /opt/rocm/core-7.12/bin/hipconfig. So the paths used by /opt/rocm/core-7.12/lib/cmake/hip/hip-config.cmake are not correct.
Operating System
24.04.4 LTS (Noble Numbat)
CPU
AMD Ryzen Threadripper PRO 7965WX 24-Cores
GPU
AMD Radeon RX 9070 XT
ROCm Version
TheRock 7.12
ROCm Component
HIP
Steps to Reproduce
docker run -it --network=host --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v $HOME/code:/workspace ubuntu:24.04
apt update
apt install sudo wget gpg libatomic1 libquadmath0
sudo mkdir --parents --mode=0755 /etc/apt/keyrings
wget https://repo.amd.com/rocm/packages/gpg/rocm.gpg -O - | gpg --dearmor | sudo tee /etc/apt/keyrings/amdrocm.gpg > /dev/null
sudo tee /etc/apt/sources.list.d/rocm.list << EOF
deb [arch=amd64 signed-by=/etc/apt/keyrings/amdrocm.gpg] https://repo.amd.com/rocm/packages/ubuntu2404 stable main
EOF
apt update
apt install cmake
apt install amdrocm-core-dev7.12-gfx120x
Then I attempted to build migraphx.
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
Additional Information
The install of TheRock 7.12 went to /opt/rocm/core-7.12, Different from ROCm 7.2.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status