File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change 1
- set (swift_private_pthread_extras_module_depends )
2
-
3
- if (SWIFT_HOST_VARIANT MATCHES "${SWIFT_DARWIN_VARIANTS} " )
4
- list (APPEND swift_private_pthread_extras_module_depends
5
- Darwin )
6
- elseif (SWIFT_HOST_VARIANT STREQUAL "linux" OR SWIFT_HOST_VARIANT STREQUAL "freebsd" )
7
- list (APPEND swift_private_pthread_extras_module_depends
8
- Glibc )
9
- endif ()
10
-
11
1
add_swift_library (swiftSwiftPrivatePthreadExtras ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_STDLIB
12
2
# This file should be listed the first. Module name is inferred from the
13
3
# filename.
14
4
SwiftPrivatePthreadExtras.swift
15
5
PthreadBarriers.swift
16
6
17
- SWIFT_MODULE_DEPENDS ${swift_private_pthread_extras_module_depends}
7
+ SWIFT_MODULE_DEPENDS_IOS Darwin
8
+ SWIFT_MODULE_DEPENDS_OSX Darwin
9
+ SWIFT_MODULE_DEPENDS_TVOS Darwin
10
+ SWIFT_MODULE_DEPENDS_WATCHOS Darwin
11
+ SWIFT_MODULE_DEPENDS_LINUX Glibc
12
+ SWIFT_MODULE_DEPENDS_FREEBSD Glibc
18
13
SWIFT_COMPILE_FLAGS ${STDLIB_SIL_SERIALIZE_ALL}
19
14
INSTALL_IN_COMPONENT stdlib-experimental )
20
15
You can’t perform that action at this time.
0 commit comments