From 0b64dc96df594bea2ea3111fa8a80eaa233240aa Mon Sep 17 00:00:00 2001 From: Tomohiro Kashiwada Date: Sat, 13 Dec 2025 20:20:26 +0900 Subject: [PATCH] [LLVM][Examples][Cygwin] Exclude examples that are not built from test dependencies (#172145) `Bye` and `ExampleIRTransforms` are not built on Cygwin. --- llvm/test/CMakeLists.txt | 2 +- llvm/test/Examples/lit.local.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/test/CMakeLists.txt b/llvm/test/CMakeLists.txt index 1a17c97d119b..0b34056e3128 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 diff --git a/llvm/test/Examples/lit.local.cfg b/llvm/test/Examples/lit.local.cfg index 3e19c6cbb0ce..1ed69871fb37 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.