[clang] [Clang] Remove gnuwin32 documentation references (PR #177557)
Henry Kleynhans via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 23 01:49:45 PST 2026
https://github.com/hkleynhans created https://github.com/llvm/llvm-project/pull/177557
Remove the documentation references to GnuWin32. The project is no longer maintained, and as LLVM is now using Git, `llvm-lit` is now using the GNU core utilities packaged with it rather than requiring a separate installation.
>From 321d2997790cccdf9d14fc66a3ee3a8a7b48e11f Mon Sep 17 00:00:00 2001
From: Henry Kleynhans <henry.kleynhans at gmail.com>
Date: Fri, 23 Jan 2026 09:47:34 +0000
Subject: [PATCH] [Clang] Remove gnuwin32 documentation references
Remove the documentation references to GnuWin32. The project is no
longer maintained, and as LLVM is now using Git, `llvm-lit` is now
using the GNU core utilities packaged with it rather than requiring a
separate installation.
---
clang/www/get_started.html | 18 ++++++------------
clang/www/hacking.html | 12 +++++-------
2 files changed, 11 insertions(+), 19 deletions(-)
diff --git a/clang/www/get_started.html b/clang/www/get_started.html
index 0087aba168839..40dfcc2982bb7 100755
--- a/clang/www/get_started.html
+++ b/clang/www/get_started.html
@@ -121,9 +121,12 @@ <h3 id="buildWindows">Using Visual Studio</h3>
<ol>
<li>Get the required tools:
<ul>
- <li><b>Git</b>. Source code control program. Get it from:
- <a href="https://git-scm.com/download">
- https://git-scm.com/download</a></li>
+ <li><b>Git</b>. Source code control program with its packaged bash tools.
+ Get it from: <a href="https://git-scm.com/download">
+ https://git-scm.com/download</a> or install the component
+ <b>Git For Windows</b> bundled with Visual Studio. In addition to
+ source code control, the GNU core utilities in the package are used
+ by the tests.</li>
<li><b>CMake</b>. This is used for generating Visual Studio solution and
project files. Get it from:
<a href="https://cmake.org/download/">
@@ -132,15 +135,6 @@ <h3 id="buildWindows">Using Visual Studio</h3>
<li><b>Python</b>. It is used to run the clang test suite. Get it from:
<a href="https://www.python.org/download/">
https://www.python.org/download/</a></li>
- <li><b>GnuWin32 tools</b>
- The Clang and LLVM test suite use various GNU core utilities, such as
- <tt>grep</tt>, <tt>sed</tt>, and <tt>find</tt>. The gnuwin32 packages
- are the oldest and most well-tested way to get these tools. However, the
- MSys utilities provided by git for Windows have been known to work.
- Cygwin has worked in the past, but is not well tested.
- If you don't already have the core utilies from some other source, get
- gnuwin32 from <a href="http://getgnuwin32.sourceforge.net/">
- http://getgnuwin32.sourceforge.net/</a>.</li>
</ul>
</li>
diff --git a/clang/www/hacking.html b/clang/www/hacking.html
index a17e791eed477..90dcc3f4fc042 100755
--- a/clang/www/hacking.html
+++ b/clang/www/hacking.html
@@ -184,13 +184,11 @@ <h3 id="testingWindows">Testing using Visual Studio on Windows</h3>
<a href="https://www.python.org/downloads/">https://www.python.org/downloads/</a>.
Download the latest stable version.</p>
- <p>The GnuWin32 tools are also necessary for running the tests.
- Get them from <a href="http://getgnuwin32.sourceforge.net/">
- http://getgnuwin32.sourceforge.net/</a>.
- If the environment variable <tt>%PATH%</tt> does not have GnuWin32,
- or if other grep(s) supercedes GnuWin32 on <tt>%PATH%,</tt>
- you should specify <tt>LLVM_LIT_TOOLS_DIR</tt>
- to CMake explicitly.</p>
+ <p>The GNU core utilities included in <b>Git For Windows</b>
+ are also required to run the tests. This is available from
+ <a href="https://git-scm.com/download"> https://git-scm.com/download</a>.
+ You can specify the <tt>LLVM_LIT_TOOLS_DIR</tt> to CMake explicitly
+ to override the location of the GNU core utilities used for testing.</p>
<p>The cmake build tool is set up to create Visual Studio project files
for running the tests, "check-clang" being the root. Therefore, to
More information about the cfe-commits
mailing list