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.yml | 10 ++++++++++ .gitlab/ci/configure_cuda10.2_clang.cmake | 3 +++ .gitlab/ci/env_cuda10.2_clang.sh | 3 +++ .gitlab/os-linux.yml | 7 +++++++ 4 files changed, 23 insertions(+) create mode 100644 .gitlab/ci/configure_cuda10.2_clang.cmake create mode 100644 .gitlab/ci/env_cuda10.2_clang.sh diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3765abc..d6825d1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -214,6 +214,16 @@ test:cuda10.2-nvidia: - .run_dependent - .needs_centos6_x86_64 +test:cuda10.2-clang: + extends: + - .cuda10.2_clang + - .cmake_test_linux_release + - .linux_builder_tags_cuda + - .run_dependent + - .needs_centos6_x86_64 + variables: + CMAKE_CI_JOB_NIGHTLY: "true" + build:fedora34-ninja: extends: - .fedora34_ninja diff --git a/.gitlab/ci/configure_cuda10.2_clang.cmake b/.gitlab/ci/configure_cuda10.2_clang.cmake new file mode 100644 index 0000000..e13ca88 --- /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 0000000..d3b2530 --- /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 978543b..67e9ce5 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 v0.12