[llvm] build_llvm_release.bat: Disable clang-tools-extra for stage0 builds (PR #218806)

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 14:54:16 PDT 2026


https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/218806

>From de2bf8b74268b845e14674b3af19803d2a552bc6 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Tue, 25 Aug 2026 16:07:15 -0700
Subject: [PATCH] build_llvm_release.bat: Disable clang-tools-extra for stage0
 builds

stage0 just needs to build the minimal toolchain so clang-tools-extra is
not necessary.
---
 llvm/utils/release/build_llvm_release.bat | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/llvm/utils/release/build_llvm_release.bat b/llvm/utils/release/build_llvm_release.bat
index f15065970a167..6130b3e7694de 100644
--- a/llvm/utils/release/build_llvm_release.bat
+++ b/llvm/utils/release/build_llvm_release.bat
@@ -185,7 +185,7 @@ set common_cmake_flags=^
   -DCMAKE_C_FLAGS="%common_compiler_flags%" ^
   -DCMAKE_CXX_FLAGS="%common_compiler_flags%" ^
   -DLLVM_ENABLE_RPMALLOC=ON ^
-  -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld" ^
+  -DLLVM_ENABLE_PROJECTS="clang;lld" ^
   -DLLVM_ENABLE_RUNTIMES="compiler-rt;openmp" ^
   -DCPACK_GENERATOR="WIX" ^
   -DCOMPILER_RT_BUILD_ORC=OFF
@@ -256,7 +256,6 @@ REM ninja check-llvm || ninja check-llvm || ninja check-llvm || exit /b 1
 REM ninja check-clang || ninja check-clang || ninja check-clang || exit /b 1
 ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
 REM ninja check-runtimes || ninja check-runtimes || ninja check-runtimes || exit /b 1
-REM ninja check-clang-tools || ninja check-clang-tools || ninja check-clang-tools || exit /b 1
 cd..
 
 REM CMake expects the paths that specifies the compiler and linker to be
@@ -332,8 +331,6 @@ ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
 if "%arch%"=="amd64" (
   ninja check-runtimes || ninja check-runtimes || ninja check-runtimes || exit /b 1
 )
-ninja check-clang-tools || ninja check-clang-tools || ninja check-clang-tools || exit /b 1
-ninja check-clangd || ninja check-clangd || ninja check-clangd || exit /b 1
 cd..
 
 REM CMake expects the paths that specifies the compiler and linker to be



More information about the llvm-commits mailing list