Skip to content
Closed
Changes from 1 commit
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
5 changes: 5 additions & 0 deletions llvm/cmake/modules/LLVMDistributionSupport.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,11 @@ 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)
endif()
endif()

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