[llvm] [runtimes] Add missing test dependencies to check-all (PR #75090)

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 11 12:00:10 PST 2023


https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/75090

Re-apply 7f215b1380da49dccbf57da3040a40d25ed898f4, which was reverted in a9e3d232a520a17f098d4dc872c9591c565e7d36.

The orginal commit uncovered a bug that was fixed by 4701f776d0f22dc0ff80a7d33ef3ae031eac9c2f.

Fixes #58680

>From 4f78c522e138dfd029a9e4f8aa369172ceb9d3e7 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Wed, 22 Nov 2023 13:57:48 -0800
Subject: [PATCH] [runtimes] Add missing test dependencies to check-all

Re-apply 7f215b1380da49dccbf57da3040a40d25ed898f4, which was reverted
in a9e3d232a520a17f098d4dc872c9591c565e7d36.

The orginal commit uncovered a bug that was fixed by
4701f776d0f22dc0ff80a7d33ef3ae031eac9c2f.

Fixes #58680
---
 llvm/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index 35be9bf16b5e1e..1ecfb36ab41a3c 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -1259,6 +1259,7 @@ if( LLVM_INCLUDE_TESTS )
   add_custom_target(test-depends
       DEPENDS ${LLVM_ALL_LIT_DEPENDS} ${LLVM_ALL_ADDITIONAL_TEST_DEPENDS})
   set_target_properties(test-depends PROPERTIES FOLDER "Tests")
+  add_dependencies(check-all test-depends)
 endif()
 
 if (LLVM_INCLUDE_DOCS)



More information about the llvm-commits mailing list