[llvm] 0b64dc9 - [LLVM][Examples][Cygwin] Exclude examples that are not built from test dependencies (#172145)

via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 13 03:20:31 PST 2025


Author: Tomohiro Kashiwada
Date: 2025-12-13T12:20:26+01:00
New Revision: 0b64dc96df594bea2ea3111fa8a80eaa233240aa

URL: https://github.com/llvm/llvm-project/commit/0b64dc96df594bea2ea3111fa8a80eaa233240aa
DIFF: https://github.com/llvm/llvm-project/commit/0b64dc96df594bea2ea3111fa8a80eaa233240aa.diff

LOG: [LLVM][Examples][Cygwin] Exclude examples that are not built from test dependencies (#172145)

`Bye` and `ExampleIRTransforms` are not built on Cygwin.

Added: 
    

Modified: 
    llvm/test/CMakeLists.txt
    llvm/test/Examples/lit.local.cfg

Removed: 
    


################################################################################
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

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