File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -170,11 +170,10 @@ ADD ./common/install_rocm_magma.sh install_rocm_magma.sh
170
170
RUN bash ./install_rocm_magma.sh && rm install_rocm_magma.sh
171
171
# cmake is already installed inside the rocm base image, but both 2 and 3 exist
172
172
# cmake3 is needed for the later MIOpen custom build, so that step is last.
173
- RUN yum install -y python3-pip && \
174
- python3 -mpip install cmake==3.18.4 && \
175
- rm -f /usr/bin/cmake && \
176
- ln -s /usr/local/bin/cmake /usr/bin/cmake && \
177
- ln -s /usr/local/bin/cmake /usr/bin/cmake3
173
+ RUN rpm -e cmake && \
174
+ pip3 install cmake==3.18.4 && \
175
+ ln -sf /usr/local/bin/cmake /usr/bin/cmake && \
176
+ ln -sf /usr/local/bin/cmake /usr/bin/cmake3
178
177
179
178
ADD ./common/install_miopen.sh install_miopen.sh
180
179
RUN bash ./install_miopen.sh ${ROCM_VERSION} && rm install_miopen.sh
You can’t perform that action at this time.
0 commit comments