[llvm] [lldb][Windows] Add Git utils to PATH in CI (PR #206021)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 26 03:06:58 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-infrastructure
Author: Charles Zablit (charles-zablit)
<details>
<summary>Changes</summary>
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.
---
Full diff: https://github.com/llvm/llvm-project/pull/206021.diff
1 Files Affected:
- (modified) .ci/green-dragon/lldb-windows.groovy (+2)
``````````diff
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\\ ^
``````````
</details>
https://github.com/llvm/llvm-project/pull/206021
More information about the llvm-commits
mailing list