Skip to content

Commit 0b64dc9

Browse files
authored
[LLVM][Examples][Cygwin] Exclude examples that are not built from test dependencies (#172145)
`Bye` and `ExampleIRTransforms` are not built on Cygwin.
1 parent bea172c commit 0b64dc9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ if(LLVM_INCLUDE_EXAMPLES)
205205
LLJITWithRemoteDebugging
206206
)
207207
endif()
208-
if (NOT WIN32)
208+
if (NOT WIN32 AND NOT CYGWIN)
209209
list(APPEND LLVM_TEST_DEPENDS
210210
Bye
211211
ExampleIRTransforms

llvm/test/Examples/lit.local.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if not config.include_examples or sys.platform in ["win32"]:
1+
if not config.include_examples or sys.platform in ["win32", "cygwin"]:
22
config.unsupported = True
33

44
# Test discovery should ignore subdirectories that contain test inputs.

0 commit comments

Comments
 (0)