Skip to content

Commit fd9face

Browse files
using normal runner minimal dockerfile2
1 parent 880c313 commit fd9face

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.ci/docker/manywheel/Dockerfile_ppc64le

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -94,21 +94,21 @@ RUN git clone --depth 1 --branch temp-gha-runner-v2 https://github.com/sandeepgu
9494
RUN bash /build_scripts/install_patchelf.sh && rm -r /build_scripts
9595
RUN 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

Comments
 (0)