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

Commit aa3ef36

Browse files
committed
fix make command and add to docker final stage
1 parent b0c9b56 commit aa3ef36

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

common/install_openblas.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -ex
44

5-
cd /opt
5+
cd /
66
git clone https://github.com/OpenMathLib/OpenBLAS.git -b v0.3.25 --depth 1 --shallow-submodules
77

88

@@ -17,5 +17,5 @@ CFLAGS=-O3
1717

1818
OPENBLAS_CHECKOUT_DIR="OpenBLAS"
1919

20-
make -j8 ${OPENBLAS_BUILD_FLAGS} ${OPENBLAS_CHECKOUT_DIR}
21-
make -j8 ${OPENBLAS_BUILD_FLAGS} "install" ${OPENBLAS_CHECKOUT_DIR}
20+
make -j8 ${OPENBLAS_BUILD_FLAGS} -C ${OPENBLAS_CHECKOUT_DIR}
21+
make -j8 ${OPENBLAS_BUILD_FLAGS} install -C ${OPENBLAS_CHECKOUT_DIR}

manywheel/Dockerfile_cuda_aarch64

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,7 @@ ARG BASE_CUDA_VERSION
8484
RUN rm -rf /usr/local/cuda-${BASE_CUDA_VERSION}
8585
COPY --from=cuda /usr/local/cuda-${BASE_CUDA_VERSION} /usr/local/cuda-${BASE_CUDA_VERSION}
8686
COPY --from=magma /usr/local/cuda-${BASE_CUDA_VERSION} /usr/local/cuda-${BASE_CUDA_VERSION}
87+
COPY --from=openblas /opt/OpenBLAS/lib /opt/OpenBLAS/lib
8788
RUN ln -sf /usr/local/cuda-${BASE_CUDA_VERSION} /usr/local/cuda
88-
ENV PATH=/usr/local/cuda/bin:$PATH
89+
ENV PATH=/usr/local/cuda/bin:$PATH
90+
ENV LD_LIBRARY_PATH=/opt/OpenBLAS/lib:$LD_LIBRARY_PATH

0 commit comments

Comments
 (0)