[llvm] [workflows] Add scan-build to ci-ubuntu-22.04 container (PR #94543)

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 5 16:00:58 PDT 2024


https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/94543

This will be used for a new CI job that runs the static analyzer.

>From 3af9d6944c707e2683c1cbd79800cec885f74de0 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Wed, 5 Jun 2024 15:56:49 -0700
Subject: [PATCH] [workflows] Add scan-build to ci-ubuntu-22.04 container

This will be used for a new CI job that runs the static analyzer.
---
 .github/workflows/containers/github-action-ci/stage1.Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/containers/github-action-ci/stage1.Dockerfile b/.github/workflows/containers/github-action-ci/stage1.Dockerfile
index fbc4548e6636e..8c6bcf4638410 100644
--- a/.github/workflows/containers/github-action-ci/stage1.Dockerfile
+++ b/.github/workflows/containers/github-action-ci/stage1.Dockerfile
@@ -37,7 +37,7 @@ RUN cmake -B ./build -G Ninja ./llvm \
   -DLLVM_ENABLE_RUNTIMES="compiler-rt" \
   -DCMAKE_INSTALL_PREFIX="$LLVM_SYSROOT" \
   -DLLVM_ENABLE_PROJECTS="bolt;clang;lld;clang-tools-extra" \
-  -DLLVM_DISTRIBUTION_COMPONENTS="lld;compiler-rt;clang-format" \
+  -DLLVM_DISTRIBUTION_COMPONENTS="lld;compiler-rt;clang-format;scan-build" \
   -DCLANG_DEFAULT_LINKER="lld" \
   -DBOOTSTRAP_CLANG_PGO_TRAINING_DATA_SOURCE_DIR=/llvm-project-llvmorg-$LLVM_VERSION/llvm
 



More information about the llvm-commits mailing list