Skip to content

Commit 1845524

Browse files
authored
Merge pull request swiftlang#30343 from bitjammer/acgarland/rdar-60241049-ssge-to-compiler-install-component
[SymbolGraph] Install `swift-symbolgraph-extract` in `compiler` insta…
2 parents 63e4857 + e8f4094 commit 1845524

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tools/driver/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ swift_create_post_build_symlink(swift
3434
WORKING_DIRECTORY "${SWIFT_RUNTIME_OUTPUT_INTDIR}")
3535

3636
add_swift_tool_symlink(swiftc swift compiler)
37+
add_swift_tool_symlink(swift-symbolgraph-extract swift compiler)
3738
add_swift_tool_symlink(swift-autolink-extract swift autolink-driver)
3839
add_swift_tool_symlink(swift-indent swift editor-integration)
39-
add_swift_tool_symlink(swift-symbolgraph-extract swift toolchain-tools)
4040

4141
# If building as part of clang, make sure the headers are installed.
4242
if(NOT SWIFT_BUILT_STANDALONE)
@@ -47,6 +47,9 @@ add_dependencies(compiler swift)
4747
swift_install_in_component(FILES "${SWIFT_RUNTIME_OUTPUT_INTDIR}/swiftc${CMAKE_EXECUTABLE_SUFFIX}"
4848
DESTINATION "bin"
4949
COMPONENT compiler)
50+
swift_install_in_component(FILES "${SWIFT_RUNTIME_OUTPUT_INTDIR}/swift-symbolgraph-extract${CMAKE_EXECUTABLE_SUFFIX}"
51+
DESTINATION "bin"
52+
COMPONENT compiler)
5053
add_dependencies(autolink-driver swift)
5154
swift_install_in_component(FILES "${SWIFT_RUNTIME_OUTPUT_INTDIR}/swift-autolink-extract${CMAKE_EXECUTABLE_SUFFIX}"
5255
DESTINATION "bin"
@@ -55,7 +58,4 @@ add_dependencies(editor-integration swift)
5558
swift_install_in_component(FILES "${SWIFT_RUNTIME_OUTPUT_INTDIR}/swift-indent${CMAKE_EXECUTABLE_SUFFIX}"
5659
DESTINATION "bin"
5760
COMPONENT editor-integration)
58-
add_dependencies(toolchain-tools swift)
59-
swift_install_in_component(FILES "${SWIFT_RUNTIME_OUTPUT_INTDIR}/swift-symbolgraph-extract${CMAKE_EXECUTABLE_SUFFIX}"
60-
DESTINATION "bin"
61-
COMPONENT toolchain-tools)
61+

0 commit comments

Comments
 (0)