From 004f954401e08544159256aa065725e670bb8af0 Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Fri, 2 Dec 2022 09:32:33 -0500 Subject: 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. --- .gitlab/os-linux.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to '.gitlab/os-linux.yml') diff --git a/.gitlab/os-linux.yml b/.gitlab/os-linux.yml index decf1b1be7..17c12c4d60 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: -- cgit v1.2.1