Skip to content

Commit 37eba5f

Browse files
committed
Merge pull request #2394 from ddunbar/filecheck-installable-component
2 parents fc4bdf1 + eb582cc commit 37eba5f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ set(SWIFT_ENABLE_GOLD_LINKER FALSE CACHE BOOL
8686
"Enable using the gold linker when available")
8787

8888
set(_SWIFT_KNOWN_INSTALL_COMPONENTS
89-
"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;dev;license;sourcekit-xpc-service;sourcekit-inproc;swift-remote-mirror-headers")
89+
"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")
9090

9191
# Set the SWIFT_INSTALL_COMPONENTS variable to the default value if it is not passed in via -D
9292
set(SWIFT_INSTALL_COMPONENTS "${_SWIFT_KNOWN_INSTALL_COMPONENTS}" CACHE STRING
@@ -112,6 +112,7 @@ set(SWIFT_INSTALL_COMPONENTS "${_SWIFT_KNOWN_INSTALL_COMPONENTS}" CACHE STRING
112112
# * tools -- tools (other than the compiler) useful for developers writing
113113
# Swift code.
114114
# * testsuite-tools -- extra tools required to run the Swift testsuite.
115+
# * toolchain-dev-tools -- install development tools useful in a shared toolchain
115116
# * dev -- headers and libraries required to use Swift compiler as a library.
116117

117118
set(SWIFT_SDKS "" CACHE STRING

utils/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ swift_install_in_component(tools
88
FILES swift-api-dump.py
99
DESTINATION bin)
1010

11+
# We install LLVM's FileCheck, if requested.
12+
swift_install_in_component(toolchain-dev-tools
13+
FILES "${SWIFT_PATH_TO_LLVM_BUILD}/bin/FileCheck"
14+
DESTINATION bin)

0 commit comments

Comments
 (0)