Skip to content

Commit 0ba0e80

Browse files
authored
Merge pull request swiftlang#37793 from gottesmm/pr-241389d143d39eb74eeb012c95ed83257a90c198
[cmake] Disable swift-cmake tests on non-Darwin platforms.
2 parents 8f7c68e + 294f9b5 commit 0ba0e80

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11

2-
# Only test this if we found a Swift compiler.
3-
if (CMAKE_Swift_COMPILER)
2+
# Only test this if we found a Swift compiler. Currently only enable this test
3+
# if we build on Darwin since we do not have a host toolchain available when
4+
# compiling on the bots for Linux meaning this path would not be tested.
5+
if (CMAKE_Swift_COMPILER AND APPLE)
46
add_subdirectory(swift-cmake)
57
endif()

0 commit comments

Comments
 (0)