[llvm] aa3dd37 - [docs] Update docs for CMake `LLVM_LIT_TOOLS_DIR` to Git for Windows (#217003)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 02:48:15 PDT 2026


Author: Andrew Ng
Date: 2026-08-20T10:48:10+01:00
New Revision: aa3dd378620fb75622a1a066672fbf38886efc3a

URL: https://github.com/llvm/llvm-project/commit/aa3dd378620fb75622a1a066672fbf38886efc3a
DIFF: https://github.com/llvm/llvm-project/commit/aa3dd378620fb75622a1a066672fbf38886efc3a.diff

LOG: [docs] Update docs for CMake `LLVM_LIT_TOOLS_DIR` to Git for Windows (#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.

Added: 
    

Modified: 
    llvm/docs/CMake.md

Removed: 
    


################################################################################
diff  --git a/llvm/docs/CMake.md b/llvm/docs/CMake.md
index a87e20dd600a2..41c9b0f1ae947 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