File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -224,12 +224,14 @@ foreach(entry ${runtimes})
224224 add_subdirectory (${entry} ${projName} )
225225endforeach ()
226226
227+ # Define runtimes-test-depends so the parent build can use it unconditionally.
228+ add_custom_target (runtimes-test -depends )
229+
227230if (LLVM_INCLUDE_TESTS)
228231 # LLVM_RUNTIMES_LIT_DEPENDS is populated when lit tests are added between
229232 # umbrella_list_testsuite begin and end. The bootstrap runtimes builds
230233 # currently assumes this target exists.
231234 get_property (LLVM_RUNTIMES_LIT_DEPENDS GLOBAL PROPERTY LLVM_RUNTIMES_LIT_DEPENDS)
232- add_custom_target (runtimes-test -depends )
233235 if (LLVM_RUNTIMES_LIT_DEPENDS)
234236 # add_dependencies complains if called with no dependencies
235237 add_dependencies (runtimes-test -depends ${LLVM_RUNTIMES_LIT_DEPENDS} )
You can’t perform that action at this time.
0 commit comments