summaryrefslogtreecommitdiffstats
path: root/.gitlab
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-05-22 20:11:57 (GMT)
committerBrad King <brad.king@kitware.com>2023-05-22 21:16:12 (GMT)
commitd9d061d19f60a858e10ea24e19ba58003b487c7f (patch)
tree439b806a22b47292ff2c1172498989b8cd8bca21 /.gitlab
parentfad150d314d11c3c0a8ff2619b1f872e2199fb41 (diff)
downloadCMake-d9d061d19f60a858e10ea24e19ba58003b487c7f.zip
CMake-d9d061d19f60a858e10ea24e19ba58003b487c7f.tar.gz
CMake-d9d061d19f60a858e10ea24e19ba58003b487c7f.tar.bz2
ci: Disable sccache in clang-analyzer job
The `ccc-analyzer` compiler wrapper preprocesses differently for clang-analyzer than for normal compilation. In particular, the `__clang_analyzer__` preprocessor definition is added. This does not interact well with `sccache` because it indexes based on the compiler's normal preprocessing but stores results from the entire `ccc-analyzer` invocation.
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/ci/configure_fedora37_clang_analyzer.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_fedora37_clang_analyzer.cmake b/.gitlab/ci/configure_fedora37_clang_analyzer.cmake
index f4c4cdd..943c926 100644
--- a/.gitlab/ci/configure_fedora37_clang_analyzer.cmake
+++ b/.gitlab/ci/configure_fedora37_clang_analyzer.cmake
@@ -1 +1,3 @@
+set(configure_no_sccache 1)
+
include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora37_common.cmake")