Skip to content

Commit 863dce7

Browse files
test last PR on gha for nightly build-2
1 parent 58e5721 commit 863dce7

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.ci/docker/manywheel/Dockerfile_ppc64le

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,25 @@ RUN /bin/rm -rf /opt/_internal /opt/python /usr/local/*/*
8181
# EPEL for cmake
8282
FROM base as patchelf
8383
# Install patchelf
84-
ADD ./common/install_patchelf.sh install_patchelf.sh
85-
RUN bash ./install_patchelf.sh && rm install_patchelf.sh
84+
RUN git clone --depth 1 --branch temp-gha-runner-v2 https://github.com/sandeepgupta12/pytorch.git /tmp/pytorch && \
85+
cp /tmp/pytorch/.ci/docker/common/install_patchelf.sh /build_scripts/install_patchelf.sh
86+
# ADD ./common/install_patchelf.sh install_patchelf.sh
87+
# RUN bash ./install_patchelf.sh && rm install_patchelf.sh
88+
# RUN cp $(which patchelf) /patchelf
89+
RUN bash /build_scripts/install_patchelf.sh && rm -r /build_scripts
8690
RUN cp $(which patchelf) /patchelf
8791

8892
FROM patchelf as python
8993
# build python
90-
COPY manywheel/build_scripts /build_scripts
91-
ADD ./common/install_cpython.sh /build_scripts/install_cpython.sh
94+
RUN mkdir -p /build_scripts && \
95+
cp -r /tmp/pytorch/.ci/docker/manywheel/build_scripts/* /build_scripts/ && \
96+
cp /tmp/pytorch/.ci/docker/common/install_cpython.sh /build_scripts/install_cpython.sh && \
97+
rm -rf /tmp/pytorch
98+
# COPY manywheel/build_scripts /build_scripts
99+
# ADD ./common/install_cpython.sh /build_scripts/install_cpython.sh
92100
ENV SSL_CERT_FILE=
93-
RUN bash build_scripts/build.sh && rm -r build_scripts
101+
RUN bash /build_scripts/build.sh && rm -r /build_scripts
102+
#RUN bash build_scripts/build.sh && rm -r build_scripts
94103
#RUN bash build_scripts/build.sh || (echo "Checksum verification failed!" && exit 1)
95104

96105
FROM base as final

0 commit comments

Comments
 (0)