From 542ddfbd60bdce709c3b2054129e403291aaccc6 Mon Sep 17 00:00:00 2001 From: Pruthvi Madugundu Date: Wed, 6 Mar 2024 08:42:34 -0800 Subject: [PATCH] CMake version updated to 3.22.0 (#46) - Choosing 3.22.0 since binary is available in pypi - Docker image use 3.24.6 needs to be built from source - enable_language(HIP) support is required, which is added after 3.21 https://cmake.org/cmake/help/v3.21/command/enable_language.html which is currently used in tensorpipe and fbgemm-gpu. --- manywheel/Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/manywheel/Dockerfile b/manywheel/Dockerfile index 8ac14576a..8fa1d01c3 100644 --- a/manywheel/Dockerfile +++ b/manywheel/Dockerfile @@ -33,9 +33,8 @@ RUN wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm & rpm -ivh epel-release-latest-7.noarch.rpm && \ rm -f epel-release-latest-7.noarch.rpm -# cmake-3.18.4 from pip RUN yum install -y python3-pip && \ - python3 -mpip install cmake==3.18.4 && \ + python3 -mpip install cmake==3.22.0 && \ ln -s /usr/local/bin/cmake /usr/bin/cmake RUN yum install -y autoconf aclocal automake make @@ -159,9 +158,9 @@ ENV LD_LIBRARY_PATH=/opt/rh/devtoolset-${DEVTOOLSET_VERSION}/root/usr/lib64:/opt # cmake is already installed inside the rocm base image, so remove if present RUN rpm -e cmake || true -# cmake-3.18.4 from pip + RUN yum install -y python3-pip && \ - python3 -mpip install cmake==3.18.4 && \ + python3 -mpip install cmake==3.22.0 && \ ln -s /usr/local/bin/cmake /usr/bin/cmake # ninja