File tree Expand file tree Collapse file tree 5 files changed +15
-6
lines changed Expand file tree Collapse file tree 5 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,10 @@ option(SWIFT_BUILD_TOOLS
48
48
"Build the Swift compiler and other tools"
49
49
TRUE )
50
50
51
+ option (SWIFT_BUILD_REMOTE_MIRROR
52
+ "Build the Swift Remote Mirror Library"
53
+ TRUE )
54
+
51
55
option (SWIFT_BUILD_DYNAMIC_STDLIB
52
56
"Build dynamic variants of the Swift standard library"
53
57
TRUE )
@@ -120,7 +124,7 @@ set(SWIFT_ENABLE_GOLD_LINKER FALSE CACHE BOOL
120
124
"Enable using the gold linker when available" )
121
125
122
126
set (_SWIFT_KNOWN_INSTALL_COMPONENTS
123
- "autolink-driver;compiler;clang-builtin-headers;clang-resource-dir-symlink;clang-builtin-headers-in-clang-resource-dir;stdlib;stdlib-experimental;sdk-overlay;editor-integration;tools;testsuite-tools;toolchain-dev-tools;dev;license;sourcekit-xpc-service;sourcekit-inproc;swift-remote-mirror-headers" )
127
+ "autolink-driver;compiler;clang-builtin-headers;clang-resource-dir-symlink;clang-builtin-headers-in-clang-resource-dir;stdlib;stdlib-experimental;sdk-overlay;editor-integration;tools;testsuite-tools;toolchain-dev-tools;dev;license;sourcekit-xpc-service;sourcekit-inproc;swift-remote-mirror;swift-remote-mirror -headers" )
124
128
125
129
# Set the SWIFT_INSTALL_COMPONENTS variable to the default value if it is not passed in via -D
126
130
set (SWIFT_INSTALL_COMPONENTS "${_SWIFT_KNOWN_INSTALL_COMPONENTS} " CACHE STRING
Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ if(SWIFT_BUILD_STDLIB)
31
31
add_subdirectory (stubs )
32
32
add_subdirectory (core )
33
33
add_subdirectory (SwiftOnoneSupport )
34
+ endif ()
35
+
36
+ if (SWIFT_BUILD_STDLIB OR SWIFT_BUILD_REMOTE_MIRROR )
34
37
add_subdirectory (Reflection )
35
38
add_subdirectory (SwiftRemoteMirror )
36
39
endif ()
Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ if(SWIFT_BUILD_DYNAMIC_STDLIB)
4
4
add_swift_library (swiftRemoteMirror SHARED TARGET_LIBRARY DONT_EMBED_BITCODE
5
5
SwiftRemoteMirror.cpp
6
6
LINK_LIBRARIES swiftReflection
7
- INSTALL_IN_COMPONENT stdlib )
7
+ INSTALL_IN_COMPONENT swift-remote-mirror )
8
8
endif ()
Original file line number Diff line number Diff line change 16
16
[preset: mixin_buildbot_install_components]
17
17
dash-dash
18
18
19
- swift-install-components =compiler; clang-builtin-headers;stdlib;sdk-overlay;editor-integration;tools;testsuite-tools;sourcekit-xpc-service;swift-remote-mirror-headers;
19
+ swift-install-components =compiler; clang-builtin-headers;stdlib;sdk-overlay;editor-integration;tools;testsuite-tools;sourcekit-xpc-service;swift-remote-mirror;swift-remote-mirror -headers;
20
20
21
21
22
22
[preset: mixin_buildbot_trunk_base]
@@ -590,7 +590,7 @@ install-llbuild
590
590
install-swiftpm
591
591
install-xctest
592
592
install-prefix =/usr
593
- swift-install-components =autolink-driver; compiler;clang-builtin-headers;stdlib;sdk-overlay;license
593
+ swift-install-components =autolink-driver; compiler;clang-builtin-headers;stdlib;swift-remote-mirror; sdk-overlay;license
594
594
build-swift-static-stdlib
595
595
build-swift-stdlib-unittest-extra
596
596
@@ -652,7 +652,7 @@ install-foundation
652
652
install-swiftpm
653
653
install-xctest
654
654
install-prefix =/usr
655
- swift-install-components =autolink-driver; compiler;clang-builtin-headers;stdlib;sdk-overlay;dev
655
+ swift-install-components =autolink-driver; compiler;clang-builtin-headers;stdlib;swift-remote-mirror; sdk-overlay;dev
656
656
build-swift-static-stdlib
657
657
skip-test-lldb
658
658
@@ -763,7 +763,7 @@ mixin-preset=
763
763
764
764
dash-dash
765
765
766
- swift-install-components =compiler; clang-builtin-headers;stdlib;sdk-overlay;license;sourcekit-xpc-service;swift-remote-mirror-headers
766
+ swift-install-components =compiler; clang-builtin-headers;stdlib;sdk-overlay;license;sourcekit-xpc-service;swift-remote-mirror;swift-remote-mirror -headers
767
767
llvm-install-components =libclang; libclang-headers
768
768
769
769
# Path to the .tar.gz package we would create.
Original file line number Diff line number Diff line change @@ -161,6 +161,7 @@ KNOWN_SETTINGS=(
161
161
build-swift-dynamic-sdk-overlay " " " set to 1 to build dynamic variants of the Swift SDK overlay"
162
162
build-swift-static-sdk-overlay " " " set to 1 to build static variants of the Swift SDK overlay"
163
163
build-swift-examples " 1" " set to 1 to build examples"
164
+ build-swift-remote-mirror " 1" " set to 1 to build the Swift Remote Mirror library"
164
165
build-serialized-stdlib-unittest " 0" " set to 1 to build the StdlibUnittest module with -sil-serialize-all"
165
166
build-sil-debugging-stdlib " 0" " set to 1 to build the Swift standard library with -gsil to enable debugging and profiling on SIL level"
166
167
check-incremental-compilation " 0" " set to 1 to compile swift libraries multiple times to check if incremental compilation works"
@@ -1873,6 +1874,7 @@ for host in "${ALL_HOSTS[@]}"; do
1873
1874
-DSWIFT_NATIVE_CLANG_TOOLS_PATH:STRING=" ${native_clang_tools_path} "
1874
1875
-DSWIFT_NATIVE_SWIFT_TOOLS_PATH:STRING=" ${native_swift_tools_path} "
1875
1876
-DSWIFT_BUILD_TOOLS:BOOL=$( true_false " ${BUILD_SWIFT_TOOLS} " )
1877
+ -DSWIFT_BUILD_REMOTE_MIRROR:BOOL=$( true_false " ${BUILD_SWIFT_REMOTE_MIRROR} " )
1876
1878
-DSWIFT_SERIALIZE_STDLIB_UNITTEST:BOOL=$( true_false " ${BUILD_SERIALIZED_STDLIB_UNITTEST} " )
1877
1879
-DSWIFT_STDLIB_SIL_DEBUGGING:BOOL=$( true_false " ${BUILD_SIL_DEBUGGING_STDLIB} " )
1878
1880
-DSWIFT_CHECK_INCREMENTAL_COMPILATION:BOOL=$( true_false " ${CHECK_INCREMENTAL_COMPILATION} " )
You can’t perform that action at this time.
0 commit comments