Skip to content

Commit 75deab6

Browse files
authored
Merge pull request #3484 from gottesmm/rename_swiftbuildtools_swiftincludetools
2 parents 01fe073 + 51af90b commit 75deab6

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ list(APPEND CMAKE_MODULE_PATH
1616
# This is primarily to support building smaller or faster project files.
1717
#
1818

19-
option(SWIFT_BUILD_TOOLS
20-
"Build the Swift compiler and other tools"
19+
option(SWIFT_INCLUDE_TOOLS
20+
"Generate build targets for swift tools"
2121
TRUE)
2222

2323
option(SWIFT_BUILD_REMOTE_MIRROR
@@ -822,14 +822,14 @@ if(NOT DEFINED SWIFT_API_NOTES_INPUTS)
822822
endif()
823823

824824
# Add all of the subdirectories, where we actually do work.
825-
if(SWIFT_BUILD_TOOLS)
825+
if(SWIFT_INCLUDE_TOOLS)
826826
add_subdirectory(include)
827827
add_subdirectory(lib)
828828
add_subdirectory(tools)
829829
endif()
830830

831831
is_sdk_requested("${SWIFT_HOST_VARIANT_SDK}" SWIFT_HOST_SDK_REQUESTED)
832-
if(SWIFT_BUILD_TOOLS AND SWIFT_BUILD_STDLIB AND SWIFT_HOST_SDK_REQUESTED)
832+
if(SWIFT_INCLUDE_TOOLS AND SWIFT_BUILD_STDLIB AND SWIFT_HOST_SDK_REQUESTED)
833833
add_subdirectory(tools/swift-reflection-dump)
834834
endif()
835835

cmake/modules/SwiftSource.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ function(_compile_swift_files dependency_target_out_var_name)
320320
set(line_directive_tool "${SWIFT_SOURCE_DIR}/utils/line-directive")
321321
set(swift_compiler_tool "${SWIFT_NATIVE_SWIFT_TOOLS_PATH}/swiftc")
322322
set(swift_compiler_tool_dep)
323-
if(SWIFT_BUILD_TOOLS)
323+
if(SWIFT_INCLUDE_TOOLS)
324324
# Depend on the binary itself, in addition to the symlink.
325325
set(swift_compiler_tool_dep "swift")
326326
endif()

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ if(PYTHONINTERP_FOUND)
9292

9393
set(SWIFT_TEST_EXTRA_ARGS)
9494

95-
if(NOT SWIFT_BUILD_TOOLS)
95+
if(NOT SWIFT_INCLUDE_TOOLS)
9696
list(APPEND SWIFT_TEST_EXTRA_ARGS
9797
"--path=${SWIFT_NATIVE_LLVM_TOOLS_PATH}"
9898
"--path=${SWIFT_NATIVE_CLANG_TOOLS_PATH}"

unittests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
include(AddSwiftUnittests)
33

4-
if(SWIFT_BUILD_TOOLS)
4+
if(SWIFT_INCLUDE_TOOLS)
55
# We can't link C++ unit tests unless we build the tools.
66

77
add_subdirectory(AST)

utils/build-script-impl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1959,7 +1959,7 @@ for host in "${ALL_HOSTS[@]}"; do
19591959
-DSWIFT_NATIVE_LLVM_TOOLS_PATH:STRING="${native_llvm_tools_path}"
19601960
-DSWIFT_NATIVE_CLANG_TOOLS_PATH:STRING="${native_clang_tools_path}"
19611961
-DSWIFT_NATIVE_SWIFT_TOOLS_PATH:STRING="${native_swift_tools_path}"
1962-
-DSWIFT_BUILD_TOOLS:BOOL=$(true_false "${BUILD_SWIFT_TOOLS}")
1962+
-DSWIFT_INCLUDE_TOOLS:BOOL=$(true_false "${BUILD_SWIFT_TOOLS}")
19631963
-DSWIFT_BUILD_REMOTE_MIRROR:BOOL=$(true_false "${BUILD_SWIFT_REMOTE_MIRROR}")
19641964
-DSWIFT_SERIALIZE_STDLIB_UNITTEST:BOOL=$(true_false "${BUILD_SERIALIZED_STDLIB_UNITTEST}")
19651965
-DSWIFT_STDLIB_SIL_DEBUGGING:BOOL=$(true_false "${BUILD_SIL_DEBUGGING_STDLIB}")

0 commit comments

Comments
 (0)