[llvm] 37bcd93 - [LLVM][lit] add system-cygwin feature (#152780)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 8 13:00:49 PDT 2025
Author: jeremyd2019
Date: 2025-08-08T13:00:45-07:00
New Revision: 37bcd937766d0bb151d4ee54d72d9cc289fee97b
URL: https://github.com/llvm/llvm-project/commit/37bcd937766d0bb151d4ee54d72d9cc289fee97b
DIFF: https://github.com/llvm/llvm-project/commit/37bcd937766d0bb151d4ee54d72d9cc289fee97b.diff
LOG: [LLVM][lit] add system-cygwin feature (#152780)
There are a few tests in clang that gate on system-windows but also
don't work on Cygwin, so add a system-cygwin feature for them to use.
Added:
Modified:
llvm/utils/lit/lit/llvm/config.py
Removed:
################################################################################
diff --git a/llvm/utils/lit/lit/llvm/config.py b/llvm/utils/lit/lit/llvm/config.py
index 649636d4bcf4c..b04fb25f3c030 100644
--- a/llvm/utils/lit/lit/llvm/config.py
+++ b/llvm/utils/lit/lit/llvm/config.py
@@ -107,6 +107,8 @@ def __init__(self, lit_config, config):
features.add("system-solaris")
elif platform.system() == "OS/390":
features.add("system-zos")
+ elif sys.platform == "cygwin":
+ features.add("system-cygwin")
# Native compilation: host arch == default triple arch
# Both of these values should probably be in every site config (e.g. as
More information about the llvm-commits
mailing list