[PATCH] D138967: [runtimes] Create check- targets for LLVM_RUNTIME_DISTRIBUTION_COMPONENTS
Shoaib Meenai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 30 11:15:39 PST 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG8947f26b8822: [runtimes] Create check- targets for LLVM_RUNTIME_DISTRIBUTION_COMPONENTS (authored by smeenai).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138967/new/
https://reviews.llvm.org/D138967
Files:
llvm/runtimes/CMakeLists.txt
Index: llvm/runtimes/CMakeLists.txt
===================================================================
--- llvm/runtimes/CMakeLists.txt
+++ llvm/runtimes/CMakeLists.txt
@@ -301,7 +301,15 @@
set(check-runtimes-${name} check-runtimes)
list(APPEND ${name}_test_targets runtimes-test-depends-${name} check-runtimes-${name})
list(APPEND test_targets ${${name}_test_targets})
- foreach(target_name IN LISTS SUB_CHECK_TARGETS)
+
+ set(component_check_targets)
+ foreach(component IN LISTS LLVM_RUNTIME_DISTRIBUTION_COMPONENTS)
+ if(NOT "check-${component}" IN_LIST SUB_CHECK_TARGETS)
+ list(APPEND component_check_targets "check-${component}")
+ endif()
+ endforeach()
+
+ foreach(target_name IN LISTS SUB_CHECK_TARGETS component_check_targets)
set(${target_name}-${name} ${target_name})
list(APPEND ${name}_test_targets ${target_name}-${name})
list(APPEND test_targets ${target_name}-${name})
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138967.479030.patch
Type: text/x-patch
Size: 956 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221130/a473e6cc/attachment.bin>
More information about the llvm-commits
mailing list