From d9d061d19f60a858e10ea24e19ba58003b487c7f Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 22 May 2023 16:11:57 -0400 Subject: 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. --- .gitlab/ci/configure_fedora37_clang_analyzer.cmake | 2 ++ 1 file changed, 2 insertions(+) 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") -- cgit v0.12