Skip to content

Commit 065e4e3

Browse files
authored
More cmake ROCM tweaks
1 parent c349e0d commit 065e4e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manywheel/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,9 @@ RUN bash ./install_rocm_magma.sh && rm install_rocm_magma.sh
172172
# cmake3 is needed for the later MIOpen custom build, so that step is last.
173173
RUN yum install -y python3-pip && \
174174
python3 -mpip install cmake==3.18.4 && \
175+
rm -f /usr/bin/cmake && \
175176
ln -s /usr/local/bin/cmake /usr/bin/cmake && \
176-
ln -s /usr/local/bin/cmake /usr/bin/cmake
177+
ln -s /usr/local/bin/cmake /usr/bin/cmake3
177178

178179
ADD ./common/install_miopen.sh install_miopen.sh
179180
RUN bash ./install_miopen.sh ${ROCM_VERSION} && rm install_miopen.sh

0 commit comments

Comments
 (0)