File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -84,20 +84,33 @@ if(("${SWIFT_HOST_VARIANT_SDK}" STREQUAL "${SWIFT_PRIMARY_VARIANT_SDK}") AND
84
84
endif ()
85
85
endif ()
86
86
87
+ if (NOT SWIFT_STDLIB_SINGLE_THREADED_RUNTIME )
88
+ list (APPEND PLATFORM_SOURCES Mutex.cpp )
89
+ endif ()
90
+
91
+ if (SWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED )
92
+ # list(APPEND PLATFORM_SOURCES
93
+ # DistributedActor.cpp
94
+ # )
95
+ list (APPEND PLATFORM_TARGET_LINK_LIBRARIES
96
+ swift_Distributed${SWIFT_PRIMARY_VARIANT_SUFFIX}
97
+ )
98
+ endif ()
99
+
87
100
# Don't complain about these files not being in the sources list.
88
101
set (LLVM_OPTIONAL_SOURCES
89
102
weak.mm
90
103
Refcounting.mm
91
104
Actor.cpp
92
- TaskStatus.cpp )
105
+ TaskStatus.cpp
106
+ Mutex.cpp )
93
107
94
108
add_swift_unittest (SwiftRuntimeTests
95
109
Array.cpp
96
110
CompatibilityOverrideRuntime.cpp
97
111
CompatibilityOverrideConcurrency.cpp
98
112
Concurrent.cpp
99
113
Metadata.cpp
100
- Mutex.cpp
101
114
Enum.cpp
102
115
Refcounting.cpp
103
116
Stdlib.cpp
You can’t perform that action at this time.
0 commit comments