[ROCm][BugFix][The Rock] Fix mori build for the rock (#59372)
Signed-off-by: Randall Smith <Randall.Smith@amd.com> Co-authored-by: Misha Goin <mgoin64@gmail.com>
rasmith committed
Sep 30, 2026 at 10:51 UTC
c4df37dfcc7f72ca41cd43801a468526ecf99a2b
1 file changed
+3
-2
docker/Dockerfile.rock_base
+3
-2
@@ -207,8 +207,9 @@ RUN cd mori \
207
&& git checkout ${MORI_BRANCH} \
208
&& git submodule update --init --recursive \
209
&& ln -sfn ${ROCM_PATH} /opt/rocm \
210
- && mkdir -p /usr/lib64 && ln -sf /usr/lib/x86_64-linux-gnu/libc.so /usr/lib64/libc.so \
211
- && python3 setup.py bdist_wheel --dist-dir=dist && ls /app/mori/dist/*.whl
210
+ && pip install "setuptools_scm>=6.2" \
211
+ && CMAKE_PREFIX_PATH="${ROCM_PATH}:${ROCM_PATH}/lib/rocm_sysdeps" \
212
+ python3 setup.py bdist_wheel --dist-dir=dist && ls /app/mori/dist/*.whl
213
RUN mkdir -p /app/install && cp /app/mori/dist/*.whl /app/install
214
215
###