Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions llvm/cmake/modules/LLVMDistributionSupport.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,13 @@ function(llvm_distribution_add_targets)
# This happens for example if a target is an INTERFACE target.
if(TARGET ${target})
add_dependencies(${distribution_target} ${target})
# Add a special case for bolt-optimized clang. This will ensure that the
# bolt optimized clang is built with the rest of the distribution.
if (target STREQUAL "clang" AND TARGET clang-bolt)
add_dependencies(${distribution_target} clang-bolt)
add_dependencies(install-${distribution_target} clang-bolt)
add_dependencies(install-${distribution_target}-stripped clang-bolt)
endif()
endif()

if(TARGET install-${target})
Expand Down