[llvm] [docs] Update docs for CMake `LLVM_LIT_TOOLS_DIR` to Git for Windows (PR #217003)
Andrew Ng via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 18 04:52:59 PDT 2026
https://github.com/nga888 created https://github.com/llvm/llvm-project/pull/217003
The GnuWin32 tools no longer support all the lit test use cases and the requirements in `GettingStartedVS.md` were changed to Git for Windows in 2021. Update the docs for CMake `LLVM_LIT_TOOLS_DIR` to also use Git for Windows.
>From f9abf29801d114aabf11cf45050fa2ca9b2d2ae9 Mon Sep 17 00:00:00 2001
From: Andrew Ng <andrew.ng at sony.com>
Date: Tue, 18 Aug 2026 12:42:26 +0100
Subject: [PATCH] [docs] Update docs for CMake `LLVM_LIT_TOOLS_DIR` to Git for
Windows
The GnuWin32 tools no longer support all the lit test use cases and the
requirements in `GettingStartedVS.md` were changed to Git for Windows in
2021. Update the docs for CMake `LLVM_LIT_TOOLS_DIR` to also use Git for
Windows.
---
llvm/docs/CMake.md | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/llvm/docs/CMake.md b/llvm/docs/CMake.md
index c64b419cd06ba..90c0b7895d325 100644
--- a/llvm/docs/CMake.md
+++ b/llvm/docs/CMake.md
@@ -864,11 +864,12 @@ sub-projects. Nearly all of these variable names begin with `LLVM_`.
**LLVM_LIT_TOOLS_DIR**:PATH
-: The path to GnuWin32 tools for tests. Valid on Windows host. Defaults to
- the empty string, in which case lit will look for tools needed for tests
- (e.g., `grep`, `sort`, etc.) in your `%PATH%`. If GnuWin32 is not in your
- `%PATH%`, then you can set this variable to the GnuWin32 directory so that
- lit can find tools needed for tests in that directory.
+: The path to the [Git for Windows](https://git-scm.com/) tools for tests.
+ Valid on Windows host. Defaults to the empty string, in which case lit will
+ look for tools needed for tests (e.g., `grep`, `sort`, etc.) in your
+ `%PATH%`. If Git for Windows is not in your `%PATH%`, then you can set this
+ variable to the Git for Windows `usr/bin` sub-directory so that lit can
+ find tools needed for tests in that directory.
**LLVM_NATIVE_TOOL_DIR**:STRING
More information about the llvm-commits
mailing list