This is an automated email from the ASF dual-hosted git repository.

bneradt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git


The following commit(s) were added to refs/heads/main by this push:
     new 27742a3  disable ccache for clang-analyzer (#247)
27742a3 is described below

commit 27742a39912bd19eb2c41736e278aa9a4cba0226
Author: Brian Neradt <[email protected]>
AuthorDate: Wed Oct 18 15:24:37 2023 -0500

    disable ccache for clang-analyzer (#247)
    
    Supposedly ccache can confuse clang-analyzer. We never ran with ccache
    before, so avoid it here for cmake builds as well.
---
 jenkins/github/clang-analyzer.pipeline | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/jenkins/github/clang-analyzer.pipeline 
b/jenkins/github/clang-analyzer.pipeline
index 7fc9a63..eabb574 100644
--- a/jenkins/github/clang-analyzer.pipeline
+++ b/jenkins/github/clang-analyzer.pipeline
@@ -47,7 +47,8 @@ pipeline {
                         if [ -d cmake ]
                         then
                             # Build ATS to generate a compile_commands.json 
file for clang-analyzer.
-                            cmake -B build -G Ninja 
-DBUILD_EXPERIMENTAL_PLUGINS=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON 
-DBUILD_TESTING=OFF
+                            # Disable ccache because supposedly it can confuse 
clang-analyzer.
+                            cmake -B build -G Ninja -DENABLE_CCACHE=OFF 
-DBUILD_EXPERIMENTAL_PLUGINS=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON 
-DBUILD_TESTING=OFF
                             cmake --build build -v
 
                             analyze-build-14 \

Reply via email to