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
commit 5490ca3a56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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