diff options
author | Robert Maynard <rmaynard@nvidia.com> | 2022-12-02 14:32:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-12-06 20:44:33 (GMT) |
commit | 004f954401e08544159256aa065725e670bb8af0 (patch) | |
tree | 0e248024f589504fa08ae23259c1203ca2b47db9 /.gitlab/os-linux.yml | |
parent | 4f9ec5a9befe176a402c079a1644de034ff6ab79 (diff) | |
download | CMake-004f954401e08544159256aa065725e670bb8af0.zip CMake-004f954401e08544159256aa065725e670bb8af0.tar.gz CMake-004f954401e08544159256aa065725e670bb8af0.tar.bz2 |
ci: Add job to test minimal CUDA install (no static libs)
Some package managers provide a minimal set of static libraries,
which historically has caused problems for FindCUDAToolkit.
Resolve this issue by creating a CUDA image with only the minimal
set of static libraries.
Diffstat (limited to '.gitlab/os-linux.yml')
-rw-r--r-- | .gitlab/os-linux.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.gitlab/os-linux.yml b/.gitlab/os-linux.yml index decf1b1..17c12c4 100644 --- a/.gitlab/os-linux.yml +++ b/.gitlab/os-linux.yml @@ -331,6 +331,21 @@ CMAKE_CONFIGURATION: cuda11.6_clang CTEST_NO_WARNINGS_ALLOWED: 1 +.cuda11.8_minimal: + image: "kitware/cmake:ci-cuda11.8-minimal-x86_64-2022-12-06" + + variables: + GIT_CLONE_PATH: "$CI_BUILDS_DIR/cmake ci" + CMAKE_ARCH: x86_64 + CTEST_LABELS: "CUDA" + CMAKE_CUDA_ARCHITECTURES_NATIVE_CLAMP: 1 + +.cuda11.8_minimal_nvidia: + extends: .cuda11.8_minimal + variables: + CMAKE_CONFIGURATION: cuda11.8_minimal_nvidia + CTEST_NO_WARNINGS_ALLOWED: 1 + ### HIP builds .hip4.2: |