[llvm] [lldb][Windows] Add Git utils to PATH in CI (PR #206021)
Charles Zablit via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 26 03:06:26 PDT 2026
https://github.com/charles-zablit created https://github.com/llvm/llvm-project/pull/206021
LLDB on Windows requires GNU tools like `dirname` which are not installed by default. They are bundled with Git for Windows which also depends on them. They are not in PATH however.
This patch adds those utilities to the PATH to fix lldb test targets build failures.
>From bfcff0f0549f98191a565b959fb436cf6ca89046 Mon Sep 17 00:00:00 2001
From: Charles Zablit <c_zablit at apple.com>
Date: Fri, 26 Jun 2026 11:04:31 +0100
Subject: [PATCH] [lldb][Windows] Add Git utils to PATH in CI
---
.ci/green-dragon/lldb-windows.groovy | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.ci/green-dragon/lldb-windows.groovy b/.ci/green-dragon/lldb-windows.groovy
index 48224479f1d28..2fcf09349f040 100644
--- a/.ci/green-dragon/lldb-windows.groovy
+++ b/.ci/green-dragon/lldb-windows.groovy
@@ -53,6 +53,8 @@ call "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Auxiliary
"C:\\Program Files\\Python313\\python.exe" -m pip install packaging || exit /b 1
+set "PATH=%PATH%;C:\\Program Files\\Git\\usr\\bin"
+
cmake -G Ninja ^
-S llvm ^
-B ..\\llvm-build\\ ^
More information about the llvm-commits
mailing list