@@ -94,21 +94,21 @@ RUN git clone --depth 1 --branch temp-gha-runner-v2 https://github.com/sandeepgu
9494RUN bash /build_scripts/install_patchelf.sh && rm -r /build_scripts
9595RUN cp $(which patchelf) /patchelf
9696
97- # FROM patchelf as python
98-
99- # # Clone only required scripts from the PyTorch repo
100- # RUN mkdir -p /build_scripts && \
101- # cp -r /tmp/pytorch/.ci/docker/manywheel/build_scripts/* /build_scripts/ && \
102- # cp /tmp/pytorch/.ci/docker/common/install_cpython.sh /build_scripts/install_cpython.sh && \
103- # rm -rf /tmp/pytorch
104- # # build python
105- # # COPY manywheel/build_scripts /build_scripts
106- # # ADD ./common/install_cpython.sh /build_scripts/install_cpython.sh
107- # ENV SSL_CERT_FILE=
108- # # Run the build script
109- # RUN bash /build_scripts/build.sh && rm -r /build_scripts
110- # # RUN bash build_scripts/build.sh && rm -r build_scripts
111- # # RUN bash build_scripts/build.sh || (echo "Checksum verification failed!" && exit 1)
97+ FROM patchelf as python
98+
99+ # Clone only required scripts from the PyTorch repo
100+ RUN mkdir -p /build_scripts && \
101+ cp -r /tmp/pytorch/.ci/docker/manywheel/build_scripts/* /build_scripts/ && \
102+ cp /tmp/pytorch/.ci/docker/common/install_cpython.sh /build_scripts/install_cpython.sh && \
103+ rm -rf /tmp/pytorch
104+ # build python
105+ #COPY manywheel/build_scripts /build_scripts
106+ #ADD ./common/install_cpython.sh /build_scripts/install_cpython.sh
107+ ENV SSL_CERT_FILE=
108+ # Run the build script
109+ RUN bash /build_scripts/build.sh && rm -r /build_scripts
110+ #RUN bash build_scripts/build.sh && rm -r build_scripts
111+ #RUN bash build_scripts/build.sh || (echo "Checksum verification failed!" && exit 1)
112112
113113# FROM base as final
114114# COPY --from=python /opt/python /opt/python
0 commit comments