Skip to content

Commit eb011e3

Browse files
authored
Update CMake to 3.18, needed for C++17 compilation (#1178)
1 parent 3d190ad commit eb011e3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

manywheel/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ RUN wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm &
2121
rpm -ivh epel-release-latest-7.noarch.rpm && \
2222
rm -f epel-release-latest-7.noarch.rpm
2323

24-
# cmake
25-
RUN yum install -y cmake3 && \
26-
ln -s /usr/bin/cmake3 /usr/bin/cmake
24+
# cmake-3.18.4 from pip
25+
RUN yum install -y python3-pip && \
26+
python3 -mpip install cmake==3.18.4 && \
27+
ln -s /usr/local/bin/cmake /usr/bin/cmake
2728

2829
RUN yum install -y autoconf aclocal automake make
2930

0 commit comments

Comments
 (0)