[llvm] [LLVM][Examples][Cygwin] Exclude examples that are not built from test dependencies (PR #172145)
Tomohiro Kashiwada via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 13 03:18:20 PST 2025
https://github.com/kikairoya updated https://github.com/llvm/llvm-project/pull/172145
>From 944d6f5b1f3f465c0c5c8829663cef19095d87c8 Mon Sep 17 00:00:00 2001
From: kikairoya <kikairoya at gmail.com>
Date: Sat, 13 Dec 2025 19:03:59 +0900
Subject: [PATCH 1/2] [LLVM][Examples][Cygwin] Exclude examples that are not
built from test dependencies
---
llvm/test/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/test/CMakeLists.txt b/llvm/test/CMakeLists.txt
index 1a17c97d119bf..0b34056e31282 100644
--- a/llvm/test/CMakeLists.txt
+++ b/llvm/test/CMakeLists.txt
@@ -205,7 +205,7 @@ if(LLVM_INCLUDE_EXAMPLES)
LLJITWithRemoteDebugging
)
endif()
- if (NOT WIN32)
+ if (NOT WIN32 AND NOT CYGWIN)
list(APPEND LLVM_TEST_DEPENDS
Bye
ExampleIRTransforms
>From 1bf540cf3d04d0e583be6f9bce7276fa6a7919b9 Mon Sep 17 00:00:00 2001
From: kikairoya <kikairoya at gmail.com>
Date: Sat, 13 Dec 2025 20:17:55 +0900
Subject: [PATCH 2/2] mark test/Examples unsupported
---
llvm/test/Examples/lit.local.cfg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/test/Examples/lit.local.cfg b/llvm/test/Examples/lit.local.cfg
index 3e19c6cbb0cec..1ed69871fb37d 100644
--- a/llvm/test/Examples/lit.local.cfg
+++ b/llvm/test/Examples/lit.local.cfg
@@ -1,4 +1,4 @@
-if not config.include_examples or sys.platform in ["win32"]:
+if not config.include_examples or sys.platform in ["win32", "cygwin"]:
config.unsupported = True
# Test discovery should ignore subdirectories that contain test inputs.
More information about the llvm-commits
mailing list