File tree 9 files changed +98
-0
lines changed
9 files changed +98
-0
lines changed Original file line number Diff line number Diff line change 8
8
if (SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING)
9
9
list (APPEND swift_oslog_darwin_dependencies "_StringProcessing" )
10
10
endif ()
11
+ if ((SWIFT_BUILD_CLANG_OVERLAYS
12
+ OR SWIFT_BUILD_TEST_SUPPORT_MODULES)
13
+ AND (NOT DEFINED SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT
14
+ OR NOT SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT))
15
+ # We need to make this dependency explicit because this library
16
+ # imports Darwin and Darwin re-exports _Builtin_float,
17
+ # but in most configurations we pull Darwin from the SDK,
18
+ # meaning we specify no Darwin dependency in the build system
19
+ list (APPEND swift_oslog_darwin_dependencies _Builtin_float)
20
+ endif ()
11
21
12
22
add_swift_target_library(swiftOSLogTestHelper
13
23
IS_SDK_OVERLAY
Original file line number Diff line number Diff line change 4
4
set (swift_stdlib_unittest_darwin_dependencies)
5
5
endif ()
6
6
7
+ if ((SWIFT_BUILD_CLANG_OVERLAYS
8
+ OR SWIFT_BUILD_TEST_SUPPORT_MODULES)
9
+ AND (NOT DEFINED SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT
10
+ OR NOT SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT))
11
+ # We need to make this dependency explicit because this library
12
+ # imports Darwin and Darwin re-exports _Builtin_float,
13
+ # but in most configurations we pull Darwin from the SDK,
14
+ # meaning we specify no Darwin dependency in the build system
15
+ list (APPEND swift_stdlib_unittest_darwin_dependencies _Builtin_float)
16
+ endif ()
17
+
7
18
set (swift_stdlib_unittest_compile_flags
8
19
"-Xfrontend" "-disable-objc-attr-requires-foundation-module" )
9
20
if (SWIFT_RUNTIME_ENABLE_LEAK_CHECKER)
Original file line number Diff line number Diff line change 8
8
set (swift_swiftprivate_darwin_dependencies)
9
9
endif ()
10
10
11
+ if ((SWIFT_BUILD_CLANG_OVERLAYS
12
+ OR SWIFT_BUILD_TEST_SUPPORT_MODULES)
13
+ AND (NOT DEFINED SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT
14
+ OR NOT SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT))
15
+ # We need to make this dependency explicit because this library
16
+ # imports Darwin and Darwin re-exports _Builtin_float,
17
+ # but in most configurations we pull Darwin from the SDK,
18
+ # meaning we specify no Darwin dependency in the build system
19
+ list (APPEND swift_swiftprivate_darwin_dependencies _Builtin_float)
20
+ endif ()
21
+
11
22
add_swift_target_library(swiftSwiftPrivate ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_STDLIB
12
23
# This file should be listed the first. Module name is inferred from the
13
24
# filename.
Original file line number Diff line number Diff line change @@ -20,6 +20,17 @@ else()
20
20
set (swift_private_libc_extras_darwin_dependencies)
21
21
endif ()
22
22
23
+ if ((SWIFT_BUILD_CLANG_OVERLAYS
24
+ OR SWIFT_BUILD_TEST_SUPPORT_MODULES)
25
+ AND (NOT DEFINED SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT
26
+ OR NOT SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT))
27
+ # We need to make this dependency explicit because this library
28
+ # imports Darwin and Darwin re-exports _Builtin_float,
29
+ # but in most configurations we pull Darwin from the SDK,
30
+ # meaning we specify no Darwin dependency in the build system
31
+ list (APPEND swift_private_libc_extras_darwin_dependencies _Builtin_float)
32
+ endif ()
33
+
23
34
add_swift_target_library(swiftSwiftPrivateLibcExtras ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_STDLIB
24
35
# This file should be listed the first. Module name is inferred from the
25
36
# filename.
Original file line number Diff line number Diff line change 4
4
set (swift_private_thread_extras_darwin_dependencies)
5
5
endif ()
6
6
7
+ if ((SWIFT_BUILD_CLANG_OVERLAYS
8
+ OR SWIFT_BUILD_TEST_SUPPORT_MODULES)
9
+ AND (NOT DEFINED SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT
10
+ OR NOT SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT))
11
+ # We need to make this dependency explicit because this library
12
+ # imports Darwin and Darwin re-exports _Builtin_float,
13
+ # but in most configurations we pull Darwin from the SDK,
14
+ # meaning we specify no Darwin dependency in the build system
15
+ list (APPEND swift_private_thread_extras_darwin_dependencies _Builtin_float)
16
+ endif ()
17
+
7
18
add_swift_target_library(swiftSwiftPrivateThreadExtras ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_STDLIB
8
19
# This file should be listed the first. Module name is inferred from the
9
20
# filename.
Original file line number Diff line number Diff line change 4
4
set (swift_reflection_test_darwin_dependencies)
5
5
endif ()
6
6
7
+ if ((SWIFT_BUILD_CLANG_OVERLAYS
8
+ OR SWIFT_BUILD_TEST_SUPPORT_MODULES)
9
+ AND (NOT DEFINED SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT
10
+ OR NOT SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT))
11
+ # We need to make this dependency explicit because this library
12
+ # imports Darwin and Darwin re-exports _Builtin_float,
13
+ # but in most configurations we pull Darwin from the SDK,
14
+ # meaning we specify no Darwin dependency in the build system
15
+ list (APPEND swift_reflection_test_darwin_dependencies _Builtin_float)
16
+ endif ()
17
+
7
18
if (SWIFT_INCLUDE_TESTS AND SWIFT_BUILD_DYNAMIC_STDLIB)
8
19
add_swift_target_library(swiftSwiftReflectionTest ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_STDLIB
9
20
SwiftReflectionTest.swift
Original file line number Diff line number Diff line change @@ -16,6 +16,17 @@ 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
+ # We need to make this dependency explicit because this library
24
+ # imports Darwin and Darwin re-exports _Builtin_float,
25
+ # but in most configurations we pull Darwin from the SDK,
26
+ # meaning we specify no Darwin dependency in the build system
27
+ list (APPEND swift_distributed_darwin_dependencies _Builtin_float)
28
+ endif ()
29
+
19
30
set (swift_distributed_link_libraries
20
31
swiftCore)
21
32
Original file line number Diff line number Diff line change @@ -41,6 +41,17 @@ if(SWIFT_BUILD_SDK_OVERLAY)
41
41
set (SWIFT_SYNCHRONIZATION_DARWIN_DEPENDENCIES Darwin)
42
42
endif ()
43
43
44
+ if ((SWIFT_BUILD_CLANG_OVERLAYS
45
+ OR SWIFT_BUILD_TEST_SUPPORT_MODULES)
46
+ AND (NOT DEFINED SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT
47
+ OR NOT SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT))
48
+ # We need to make this dependency explicit because this library
49
+ # imports Darwin and Darwin re-exports _Builtin_float,
50
+ # but in most configurations we pull Darwin from the SDK,
51
+ # meaning we specify no Darwin dependency in the build system
52
+ list (APPEND SWIFT_SYNCHRONIZATION_DARWIN_DEPENDENCIES _Builtin_float)
53
+ endif ()
54
+
44
55
set (SWIFT_SYNCHRONIZATION_DARWIN_SOURCES
45
56
Mutex/DarwinImpl.swift
46
57
Mutex/Mutex.swift
Original file line number Diff line number Diff line change @@ -12,6 +12,17 @@ if(SWIFT_BUILD_SDK_OVERLAY)
12
12
set (musl Musl)
13
13
endif ()
14
14
15
+ if ((SWIFT_BUILD_CLANG_OVERLAYS
16
+ OR SWIFT_BUILD_TEST_SUPPORT_MODULES)
17
+ AND (NOT DEFINED SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT
18
+ OR NOT SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT))
19
+ # We need to make this dependency explicit because this library
20
+ # imports Darwin and Darwin re-exports _Builtin_float,
21
+ # but in most configurations we pull Darwin from the SDK,
22
+ # meaning we specify no Darwin dependency in the build system
23
+ list (APPEND darwin _Builtin_float)
24
+ endif ()
25
+
15
26
# Similarly, we only want the Runtime dependency if we're building
16
27
# with the stdlib.
17
28
set (runtime)
You can’t perform that action at this time.
0 commit comments