fix(packaging/Arch): make cuda and unit tests optional (#4254)

This commit is contained in:
Andrew Moore
2025-09-14 12:11:32 +09:30
committed by GitHub
parent 25e1d415d2
commit 5490ca3a56
3 changed files with 81 additions and 23 deletions

View File

@@ -30,6 +30,11 @@ ENV BUILD_VERSION=${BUILD_VERSION}
ENV COMMIT=${COMMIT}
ENV CLONE_URL=${CLONE_URL}
# PKGBUILD options
ENV _use_cuda=true
ENV _run_unit_tests=true
ENV _support_headless_testing=true
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN <<_SETUP