[Clang] Remove gnuwin32 documentation references (#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.

This appears to have been on
[discourse](https://discourse.llvm.org/t/gnuwin32-alternatives-for-tests-of-msvc-build/42846/3)
but not implemented yet.
This commit is contained in:
Henry Kleynhans 2026-01-27 10:35:20 +00:00 committed by GitHub
parent 7287f95b1c
commit eaf6c1446d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 19 deletions

View File

@ -121,9 +121,12 @@ Visual Studio:</p>
<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 @@ Visual Studio:</p>
<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>

View File

@ -184,13 +184,11 @@
<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