[llvm] 0c8f112 - [CMake] Remove references to GnuWin32 tools from `LLVM_LIT_TOOLS_DIR` (#217657)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 21 06:23:23 PDT 2026
Author: Andrew Ng
Date: 2026-08-21T14:23:18+01:00
New Revision: 0c8f1121a2bb2095227dab641e66e5ea4c238e87
URL: https://github.com/llvm/llvm-project/commit/0c8f1121a2bb2095227dab641e66e5ea4c238e87
DIFF: https://github.com/llvm/llvm-project/commit/0c8f1121a2bb2095227dab641e66e5ea4c238e87.diff
LOG: [CMake] Remove references to GnuWin32 tools from `LLVM_LIT_TOOLS_DIR` (#217657)
Change "GnuWin32 tools" to "Unix tools for Windows". The GnuWin32 tools
are no longer recommended and the current recommendation is to use the
Unix tools from Git for Windows.
Added:
Modified:
clang/CMakeLists.txt
lld/CMakeLists.txt
llvm/CMakeLists.txt
Removed:
################################################################################
diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt
index 89f584c5dceaa..f8d57839805cb 100644
--- a/clang/CMakeLists.txt
+++ b/clang/CMakeLists.txt
@@ -155,9 +155,9 @@ if(CLANG_BUILT_STANDALONE)
get_errc_messages(LLVM_LIT_ERRC_MESSAGES)
- # On Win32 hosts, provide an option to specify the path to the GnuWin32 tools.
+ # On Win32 hosts, provide an option to specify the path to the Unix tools.
if( WIN32 AND NOT CYGWIN )
- set(LLVM_LIT_TOOLS_DIR "" CACHE PATH "Path to GnuWin32 tools")
+ set(LLVM_LIT_TOOLS_DIR "" CACHE PATH "Path to Unix tools for Windows")
endif()
else()
set(LLVM_INCLUDE_TESTS OFF)
diff --git a/lld/CMakeLists.txt b/lld/CMakeLists.txt
index b4b06caf39961..5181eb272d5be 100644
--- a/lld/CMakeLists.txt
+++ b/lld/CMakeLists.txt
@@ -107,9 +107,9 @@ if(LLD_BUILT_STANDALONE)
get_errc_messages(LLVM_LIT_ERRC_MESSAGES)
- # On Win32 hosts, provide an option to specify the path to the GnuWin32 tools.
+ # On Win32 hosts, provide an option to specify the path to the Unix tools.
if(WIN32 AND NOT CYGWIN)
- set(LLVM_LIT_TOOLS_DIR "" CACHE PATH "Path to GnuWin32 tools")
+ set(LLVM_LIT_TOOLS_DIR "" CACHE PATH "Path to Unix tools for Windows")
endif()
else()
set(LLVM_INCLUDE_TESTS OFF)
diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index b0a40dbdfd423..95fd73046c937 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -839,9 +839,9 @@ if(LLVM_INDIVIDUAL_TEST_COVERAGE)
endif()
set(LLVM_LIT_ARGS "${LIT_ARGS_DEFAULT}" CACHE STRING "Default options for lit")
-# On Win32 hosts, provide an option to specify the path to the GnuWin32 tools.
+# On Win32 hosts, provide an option to specify the path to the Unix tools.
if( WIN32 AND NOT CYGWIN )
- set(LLVM_LIT_TOOLS_DIR "" CACHE PATH "Path to GnuWin32 tools")
+ set(LLVM_LIT_TOOLS_DIR "" CACHE PATH "Path to Unix tools for Windows")
endif()
set(LLVM_NATIVE_TOOL_DIR "" CACHE PATH "Path to a directory containing prebuilt matching native tools (such as llvm-tblgen)")
More information about the llvm-commits
mailing list