Skip to content
Merged
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
4 changes: 3 additions & 1 deletion runtimes/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -222,12 +222,14 @@ foreach(entry ${runtimes})
add_subdirectory(${entry} ${projName})
endforeach()

# Define runtimes-test-depends so the parent build can use it unconditionally.
add_custom_target(runtimes-test-depends)

if(LLVM_INCLUDE_TESTS)
# LLVM_RUNTIMES_LIT_DEPENDS is populated when lit tests are added between
# umbrella_list_testsuite begin and end. The bootstrap runtimes builds
# currently assumes this target exists.
get_property(LLVM_RUNTIMES_LIT_DEPENDS GLOBAL PROPERTY LLVM_RUNTIMES_LIT_DEPENDS)
add_custom_target(runtimes-test-depends)
if(LLVM_RUNTIMES_LIT_DEPENDS)
# add_dependencies complains if called with no dependencies
add_dependencies(runtimes-test-depends ${LLVM_RUNTIMES_LIT_DEPENDS})
Expand Down