48
48
# * autolink-driver -- the Swift driver support tools
49
49
# * back-deployment -- Swift back-deployment libraries
50
50
# * compiler -- the Swift compiler and (on supported platforms) the REPL.
51
+ # * compiler-swift-syntax-lib -- install swift-syntax libraries for the compiler.
51
52
# * clang-builtin-headers -- install a copy of Clang builtin headers under
52
53
# 'lib/swift/clang'. This is useful when Swift compiler is installed in
53
54
# isolation.
70
71
# * llvm-toolchain-dev-tools -- install LLVM development tools useful in a shared toolchain
71
72
# * dev -- headers and libraries required to use Swift compiler as a library.
72
73
set (_SWIFT_DEFINED_COMPONENTS
73
- "autolink-driver;back-deployment;compiler;clang-builtin-headers;clang-resource-dir-symlink;clang-builtin-headers-in-clang-resource-dir;libexec;stdlib;stdlib-experimental;sdk-overlay;static-mirror-lib;swift-syntax-lib;editor-integration;tools;testsuite-tools;toolchain-tools;toolchain-dev-tools;llvm-toolchain-dev-tools;dev;license;sourcekit-xpc-service;sourcekit-inproc;swift-remote-mirror;swift-remote-mirror-headers" )
74
+ "autolink-driver;back-deployment;compiler;compiler-swift-syntax; clang-builtin-headers;clang-resource-dir-symlink;clang-builtin-headers-in-clang-resource-dir;libexec;stdlib;stdlib-experimental;sdk-overlay;static-mirror-lib;swift-syntax-lib;editor-integration;tools;testsuite-tools;toolchain-tools;toolchain-dev-tools;llvm-toolchain-dev-tools;dev;license;sourcekit-xpc-service;sourcekit-inproc;swift-remote-mirror;swift-remote-mirror-headers" )
74
75
75
76
# The default install components include all of the defined components, except
76
77
# for the following exceptions.
@@ -97,10 +98,10 @@ macro(swift_configure_components)
97
98
set (SWIFT_INSTALL_COMPONENTS "${_SWIFT_DEFAULT_COMPONENTS} " CACHE STRING
98
99
"A semicolon-separated list of components to install from the set ${_SWIFT_DEFINED_COMPONENTS} " )
99
100
100
- # 'compiler' depends on 'swift-syntax-lib' component.
101
+ # 'compiler' depends on 'compiler- swift-syntax-lib' component.
101
102
if ("compiler" IN_LIST SWIFT_INSTALL_COMPONENTS AND
102
- NOT "swift-syntax-lib" IN_LIST SWIFT_INSTALL_COMPONENTS )
103
- list (APPEND SWIFT_INSTALL_COMPONENTS "swift-syntax-lib" )
103
+ NOT "compiler- swift-syntax-lib" IN_LIST SWIFT_INSTALL_COMPONENTS )
104
+ list (APPEND SWIFT_INSTALL_COMPONENTS "compiler- swift-syntax-lib" )
104
105
endif ()
105
106
106
107
foreach (component ${_SWIFT_DEFINED_COMPONENTS} )
0 commit comments