summaryrefslogtreecommitdiff
path: root/.gitlab/ci/env_fedora37_common_clang.sh
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-11-16 13:59:44 -0500
committerBrad King <brad.king@kitware.com>2022-11-18 09:13:51 -0500
commit99370e990ead426661170cef2e7299059e6120c9 (patch)
treebd12bc63c49418bb2b7a8117659f908fe8fcbf59 /.gitlab/ci/env_fedora37_common_clang.sh
parent572679a62e835833e7989630d77ab2e9802b1485 (diff)
downloadcmake-99370e990ead426661170cef2e7299059e6120c9.tar.gz
gitlab-ci: add jobs to test with Clang and LLVMFlang on Fedora
We already have `t:debian10-{makefiles,ninja}-clang` jobs covering old versions of Clang with Makefile and Ninja generators. Complement them with new `t:fedora37-{makefiles,ninja}-clang` jobs covering recent versions of Clang. Fedora 37 now packages LLVMFlang, so enable Fortran tests with that compiler too. Issue: #22387
Diffstat (limited to '.gitlab/ci/env_fedora37_common_clang.sh')
-rw-r--r--.gitlab/ci/env_fedora37_common_clang.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab/ci/env_fedora37_common_clang.sh b/.gitlab/ci/env_fedora37_common_clang.sh
new file mode 100644
index 0000000000..b03b757052
--- /dev/null
+++ b/.gitlab/ci/env_fedora37_common_clang.sh
@@ -0,0 +1,4 @@
+export CC=/usr/bin/clang-15
+export CXX=/usr/bin/clang++-15
+export FC=/usr/bin/flang-new
+export FFLAGS=-flang-experimental-exec