aboutsummaryrefslogtreecommitdiff
path: root/runtimes
diff options
context:
space:
mode:
authorJames Nagurne <j-nagurne@ti.com>2022-06-02 17:30:55 -0500
committerJames Nagurne <j-nagurne@ti.com>2022-06-13 15:47:38 -0500
commitf4fdc4f4d9f6903808541645d383be2ee759f400 (patch)
tree606017a17ac5a4edc78cffc1533aa9d4f33ad352 /runtimes
parent6ef9af6386fe7cd9d5d93342c430528baa8d1026 (diff)
downloadllvm-f4fdc4f4d9f6903808541645d383be2ee759f400.zip
llvm-f4fdc4f4d9f6903808541645d383be2ee759f400.tar.gz
llvm-f4fdc4f4d9f6903808541645d383be2ee759f400.tar.bz2
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
Diffstat (limited to 'runtimes')
-rw-r--r--runtimes/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtimes/CMakeLists.txt b/runtimes/CMakeLists.txt
index 35b9b65..1b8c1c0 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)