Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit ad063df

Browse files
committed
apply openblas cache for cpu-aarch64
1 parent c49768f commit ad063df

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

manywheel/Dockerfile_aarch64

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,16 @@ ADD ./common/install_openssl.sh install_openssl.sh
7878
RUN bash ./install_openssl.sh && rm install_openssl.sh
7979
ENV SSL_CERT_FILE=/opt/_internal/certs.pem
8080

81+
FROM base as openblas
82+
# Install openblas
83+
ADD ./common/install_openblas.sh install_openblas.sh
84+
RUN bash ./install_openblas.sh && rm install_openblas.sh
85+
8186
FROM openssl as final
8287
# remove unncessary python versions
8388
RUN rm -rf /opt/python/cp26-cp26m /opt/_internal/cpython-2.6.9-ucs2
8489
RUN rm -rf /opt/python/cp26-cp26mu /opt/_internal/cpython-2.6.9-ucs4
8590
RUN rm -rf /opt/python/cp33-cp33m /opt/_internal/cpython-3.3.6
8691
RUN rm -rf /opt/python/cp34-cp34m /opt/_internal/cpython-3.4.6
92+
COPY --from=openblas /opt/OpenBLAS/ /opt/OpenBLAS/
93+
ENV LD_LIBRARY_PATH=/opt/OpenBLAS/lib:$LD_LIBRARY_PATH

0 commit comments

Comments
 (0)