From f7af01efb6e3cf453f48def6e7eb8b325667578a Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 16 Jun 2021 14:22:48 -0400 Subject: gitlab-ci: add job testing cuda10.2 with clang 11 --- .gitlab/ci/configure_cuda10.2_clang.cmake | 3 +++ .gitlab/ci/env_cuda10.2_clang.sh | 3 +++ .gitlab/os-linux.yml | 7 +++++++ 3 files changed, 13 insertions(+) create mode 100644 .gitlab/ci/configure_cuda10.2_clang.cmake create mode 100644 .gitlab/ci/env_cuda10.2_clang.sh (limited to '.gitlab') diff --git a/.gitlab/ci/configure_cuda10.2_clang.cmake b/.gitlab/ci/configure_cuda10.2_clang.cmake new file mode 100644 index 0000000000..e13ca881d6 --- /dev/null +++ b/.gitlab/ci/configure_cuda10.2_clang.cmake @@ -0,0 +1,3 @@ +set(CMake_TEST_CUDA "Clang" CACHE STRING "") + +include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/env_cuda10.2_clang.sh b/.gitlab/ci/env_cuda10.2_clang.sh new file mode 100644 index 0000000000..d3b253016e --- /dev/null +++ b/.gitlab/ci/env_cuda10.2_clang.sh @@ -0,0 +1,3 @@ +export CC=/usr/bin/clang-11 +export CXX=/usr/bin/clang++-11 +export CUDACXX=/usr/bin/clang++-11 diff --git a/.gitlab/os-linux.yml b/.gitlab/os-linux.yml index 978543b8a8..67e9ce5477 100644 --- a/.gitlab/os-linux.yml +++ b/.gitlab/os-linux.yml @@ -217,6 +217,13 @@ CMAKE_CONFIGURATION: cuda10.2_nvidia CTEST_NO_WARNINGS_ALLOWED: 1 +.cuda10.2_clang: + extends: .cuda10.2 + + variables: + CMAKE_CONFIGURATION: cuda10.2_clang + CTEST_NO_WARNINGS_ALLOWED: 1 + ## Tags .linux_builder_tags: -- cgit v1.2.1