File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ else()
16
16
set (swift_distributed_darwin_dependencies )
17
17
endif ()
18
18
19
+ if ((SWIFT_BUILD_CLANG_OVERLAYS
20
+ OR SWIFT_BUILD_TEST_SUPPORT_MODULES )
21
+ AND (NOT DEFINED SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT
22
+ OR NOT SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT ))
23
+ set (swift_distributed_dependencies _Builtin_float )
24
+ else ()
25
+ set (swift_distributed_dependencies )
26
+ endif ()
27
+
19
28
set (swift_distributed_link_libraries
20
29
swiftCore )
21
30
@@ -30,6 +39,7 @@ add_swift_target_library(swiftDistributed ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS
30
39
DistributedMetadata.swift
31
40
LocalTestingDistributedActorSystem.swift
32
41
42
+ SWIFT_MODULE_DEPENDS ${swift_distributed_dependencies}
33
43
SWIFT_MODULE_DEPENDS_IOS ${swift_distributed_darwin_dependencies}
34
44
SWIFT_MODULE_DEPENDS_OSX ${swift_distributed_darwin_dependencies}
35
45
SWIFT_MODULE_DEPENDS_TVOS ${swift_distributed_darwin_dependencies}
Original file line number Diff line number Diff line change @@ -41,6 +41,14 @@ if(SWIFT_BUILD_SDK_OVERLAY)
41
41
set (SWIFT_SYNCHRONIZATION_DARWIN_DEPENDENCIES Darwin )
42
42
endif ()
43
43
44
+ set (SWIFT_SYNCHRONIZATION_DEPENDENCIES )
45
+ if ((SWIFT_BUILD_CLANG_OVERLAYS
46
+ OR SWIFT_BUILD_TEST_SUPPORT_MODULES )
47
+ AND (NOT DEFINED SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT
48
+ OR NOT SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT ))
49
+ set (SWIFT_SYNCHRONIZATION_DEPENDENCIES _Builtin_float )
50
+ endif ()
51
+
44
52
set (SWIFT_SYNCHRONIZATION_DARWIN_SOURCES
45
53
Mutex/DarwinImpl.swift
46
54
Mutex/Mutex.swift
@@ -104,6 +112,8 @@ add_swift_target_library(swiftSynchronization ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES
104
112
SWIFT_SOURCES_DEPENDS_FREESTANDING
105
113
Mutex/MutexUnavailable.swift
106
114
115
+ SWIFT_MODULE_DEPENDS
116
+ ${SWIFT_SYNCHRONIZATION_DEPENDENCIES}
107
117
SWIFT_MODULE_DEPENDS_OSX
108
118
${SWIFT_SYNCHRONIZATION_DARWIN_DEPENDENCIES}
109
119
SWIFT_MODULE_DEPENDS_IOS
You can’t perform that action at this time.
0 commit comments