diff options
author | Brad King <brad.king@kitware.com> | 2023-05-22 20:11:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-05-22 21:16:12 (GMT) |
commit | d9d061d19f60a858e10ea24e19ba58003b487c7f (patch) | |
tree | 439b806a22b47292ff2c1172498989b8cd8bca21 /.gitlab | |
parent | fad150d314d11c3c0a8ff2619b1f872e2199fb41 (diff) | |
download | CMake-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.cmake | 2 |
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") |