From 7f2d7d410a766e7cb798a8229608c59e7939a981 Mon Sep 17 00:00:00 2001 From: Bhagirath Mehta Date: Sat, 2 May 2026 00:55:50 -0500 Subject: [PATCH] Make LLVM install opt-in in setup-buildtools Stop the bootstrap script from pulling LLVM through Chocolatey on every run so existing LLVM installations and non-clang setups are not modified unexpectedly. Files changed: - tools/setup-buildtools.cmd Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- tools/setup-buildtools.cmd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/setup-buildtools.cmd b/tools/setup-buildtools.cmd index 5c4705a15..890467256 100644 --- a/tools/setup-buildtools.cmd +++ b/tools/setup-buildtools.cmd @@ -16,8 +16,9 @@ if ERRORLEVEL 0 ( vswhere -property installationPath ) -REM Install tools needed to build SDK with either Visual Studio or CMake -choco install -y cmake svn git llvm zip +REM Install baseline tools needed to build SDK with either Visual Studio or CMake +REM LLVM is optional and handled below when INSTALL_LLVM is defined. +choco install -y cmake svn git zip REM Try to autodetect Visual Studio call "%~dp0\vcvars.cmd"