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})
224
224
add_subdirectory (${entry} ${projName} )
225
225
endforeach ()
226
226
227
+ # Define runtimes-test-depends so the parent build can use it unconditionally.
228
+ add_custom_target (runtimes-test-depends )
229
+
227
230
if (LLVM_INCLUDE_TESTS )
228
231
# LLVM_RUNTIMES_LIT_DEPENDS is populated when lit tests are added between
229
232
# umbrella_list_testsuite begin and end. The bootstrap runtimes builds
230
233
# currently assumes this target exists.
231
234
get_property (LLVM_RUNTIMES_LIT_DEPENDS GLOBAL PROPERTY LLVM_RUNTIMES_LIT_DEPENDS )
232
- add_custom_target (runtimes-test-depends )
233
235
if (LLVM_RUNTIMES_LIT_DEPENDS )
234
236
# add_dependencies complains if called with no dependencies
235
237
add_dependencies (runtimes-test-depends ${LLVM_RUNTIMES_LIT_DEPENDS} )
You can’t perform that action at this time.
0 commit comments