File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 1
- if (SWIFT_BUILD_SDK_OVERLAY OR (SWIFT_BUILD_TEST_SUPPORT_MODULES AND NOT SWIFT_BUILD_DYNAMIC_SDK_OVERLAY_default ))
1
+ if (SWIFT_BUILD_SDK_OVERLAY
2
+ OR (SWIFT_BUILD_TEST_SUPPORT_MODULES
3
+ AND NOT SWIFT_BUILD_DYNAMIC_SDK_OVERLAY_default
4
+ AND SWIFT_ENABLE_REFLECTION ))
2
5
# SwiftPrivateThreadExtras makes use of Darwin/Glibc, which is part of the
3
6
# SDK overlay. If the SDK overlay doesn't build by default, then it should
4
7
# be available in the SDK and DifferentiationUnittest can still be built.
8
+ # However, the overlay in the SDK requires the standard library to have
9
+ # reflection enabled.
5
10
if (SWIFT_ENABLE_EXPERIMENTAL_DIFFERENTIABLE_PROGRAMMING )
6
11
add_subdirectory (DifferentiationUnittest )
7
12
endif ()
@@ -14,7 +19,10 @@ if(SWIFT_BUILD_SDK_OVERLAY OR SWIFT_BUILD_TEST_SUPPORT_MODULES)
14
19
add_subdirectory (StdlibCollectionUnittest )
15
20
endif ()
16
21
17
- if (SWIFT_BUILD_SDK_OVERLAY OR (SWIFT_BUILD_TEST_SUPPORT_MODULES AND NOT SWIFT_BUILD_DYNAMIC_SDK_OVERLAY_default ))
22
+ if (SWIFT_BUILD_SDK_OVERLAY
23
+ OR (SWIFT_BUILD_TEST_SUPPORT_MODULES
24
+ AND NOT SWIFT_BUILD_DYNAMIC_SDK_OVERLAY_default
25
+ AND SWIFT_ENABLE_REFLECTION ))
18
26
add_subdirectory (SwiftPrivateLibcExtras )
19
27
add_subdirectory (SwiftPrivateThreadExtras )
20
28
You can’t perform that action at this time.
0 commit comments