Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ARM][CUDA][OpenBLAS] Build with NOFORTRAN=1 FLAG #1861

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions common/install_openblas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ TARGET=ARMV8
CFLAGS=-O3
"

if [ -n "${BASE_CUDA_VERSION}" ]; then
OPENBLAS_BUILD_FLAGS+="
NOFORTRAN=1
"
fi

OPENBLAS_CHECKOUT_DIR="OpenBLAS"

make -j8 ${OPENBLAS_BUILD_FLAGS} -C ${OPENBLAS_CHECKOUT_DIR}
Expand Down
3 changes: 2 additions & 1 deletion manywheel/Dockerfile_cuda_aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ ADD ./common/install_magma.sh install_magma.sh
RUN bash ./install_magma.sh ${BASE_CUDA_VERSION} && rm install_magma.sh

FROM base as openblas
ARG BASE_CUDA_VERSION
# Install openblas
nWEIdia marked this conversation as resolved.
Show resolved Hide resolved
ADD ./common/install_openblas.sh install_openblas.sh
RUN bash ./install_openblas.sh && rm install_openblas.sh
RUN bash ./install_openblas.sh ${BASE_CUDA_VERSION} && rm install_openblas.sh

FROM final as cuda_final
ARG BASE_CUDA_VERSION
Expand Down
Loading