From f4fdc4f4d9f6903808541645d383be2ee759f400 Mon Sep 17 00:00:00 2001 From: James Nagurne Date: Thu, 2 Jun 2022 17:30:55 -0500 Subject: Restore missing runtimes-test-depends target that causes build failures when LLVM_INCLUDE_TESTS is ON 7cc8377f removed the 'runtimes-test-depends' target in runtimes builds that is assumed to exist when using a bootstrapped runtime build. For a full analysis, see: https://discourse.llvm.org/t/looking-for-guidance-on-broken-downstream-bootstrapped-runtimes-builds/62934 Differential Revision: https://reviews.llvm.org/D127325 --- runtimes/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'runtimes') diff --git a/runtimes/CMakeLists.txt b/runtimes/CMakeLists.txt index 35b9b657345c..1b8c1c0aa1b5 100644 --- a/runtimes/CMakeLists.txt +++ b/runtimes/CMakeLists.txt @@ -227,6 +227,10 @@ foreach(entry ${runtimes}) endforeach() 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. + add_custom_target(runtimes-test-depends ${LLVM_RUNTIMES_LIT_DEPENDS}) # Add a global check rule now that all subdirectories have been traversed # and we know the total set of lit testsuites. umbrella_lit_testsuite_end(check-runtimes) -- cgit v1.2.1