Skip to content

Commit ebafda8

Browse files
authored
Merge pull request #40076 from gottesmm/pr-0da05c4cb7f9d69304b5ee83efb24561958a0a14
[cmake] Add a new component llvm-toolchain-dev-tools and make FileCheck installation use it.
2 parents 60c78af + 8b8abd6 commit ebafda8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

cmake/modules/SwiftComponents.cmake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,10 @@
6565
# * toolchain-tools -- a subset of tools that we will install to the OSS toolchain.
6666
# * testsuite-tools -- extra tools required to run the Swift testsuite.
6767
# * toolchain-dev-tools -- install development tools useful in a shared toolchain
68+
# * llvm-toolchain-dev-tools -- install LLVM development tools useful in a shared toolchain
6869
# * dev -- headers and libraries required to use Swift compiler as a library.
6970
set(_SWIFT_DEFINED_COMPONENTS
70-
"autolink-driver;back-deployment;compiler;clang-builtin-headers;clang-resource-dir-symlink;clang-builtin-headers-in-clang-resource-dir;stdlib;stdlib-experimental;sdk-overlay;parser-lib;editor-integration;tools;testsuite-tools;toolchain-tools;toolchain-dev-tools;dev;license;sourcekit-xpc-service;sourcekit-inproc;swift-remote-mirror;swift-remote-mirror-headers")
71+
"autolink-driver;back-deployment;compiler;clang-builtin-headers;clang-resource-dir-symlink;clang-builtin-headers-in-clang-resource-dir;stdlib;stdlib-experimental;sdk-overlay;parser-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")
7172

7273
# The default install components include all of the defined components, except
7374
# for the following exceptions.
@@ -78,7 +79,7 @@ list(REMOVE_ITEM _SWIFT_DEFAULT_COMPONENTS "dev")
7879
list(REMOVE_ITEM _SWIFT_DEFAULT_COMPONENTS "clang-resource-dir-symlink")
7980
list(REMOVE_ITEM _SWIFT_DEFAULT_COMPONENTS "clang-builtin-headers-in-clang-resource-dir")
8081
# This conflicts with LLVM itself when doing unified builds.
81-
list(REMOVE_ITEM _SWIFT_DEFAULT_COMPONENTS "toolchain-dev-tools")
82+
list(REMOVE_ITEM _SWIFT_DEFAULT_COMPONENTS "llvm-toolchain-dev-tools")
8283
# The sourcekit install variants are currently mutually exclusive.
8384
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
8485
list(REMOVE_ITEM _SWIFT_DEFAULT_COMPONENTS "sourcekit-inproc")

utils/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ swift_install_in_component(PROGRAMS swift-api-dump.py
1414
file(TO_CMAKE_PATH "${LLVM_BUILD_BINARY_DIR}/bin/FileCheck${CMAKE_EXECUTABLE_SUFFIX}" _SWIFT_UTILS_FILECHECK)
1515
swift_install_in_component(PROGRAMS "${_SWIFT_UTILS_FILECHECK}"
1616
DESTINATION bin
17-
COMPONENT toolchain-dev-tools)
17+
COMPONENT llvm-toolchain-dev-tools)

0 commit comments

Comments
 (0)