[PATCH] D37245: [CMake][runtimes] Use target specific name for all runtimes targets
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 1 19:29:29 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL312405: [CMake][runtimes] Use target specific name for all runtimes targets (authored by phosek).
Changed prior to commit:
https://reviews.llvm.org/D37245?vs=113013&id=113637#toc
Repository:
rL LLVM
https://reviews.llvm.org/D37245
Files:
llvm/trunk/runtimes/CMakeLists.txt
Index: llvm/trunk/runtimes/CMakeLists.txt
===================================================================
--- llvm/trunk/runtimes/CMakeLists.txt
+++ llvm/trunk/runtimes/CMakeLists.txt
@@ -306,22 +306,24 @@
foreach(runtime_name ${runtime_names})
list(APPEND ${name}_extra_targets
- ${runtime_name}-${name}
- install-${runtime_name}-${name})
+ "${runtime_name}:${runtime_name}-${name}"
+ "install-${runtime_name}:install-${runtime_name}-${name}")
if(LLVM_INCLUDE_TESTS)
- list(APPEND ${name}_test_targets check-${runtime_name}-${name})
+ list(APPEND ${name}_test_targets "check-${runtime_name}:check-${runtime_name}-${name}")
endif()
endforeach()
- foreach(name IN LISTS SUB_COMPONENTS SUB_INSTALL_TARGETS)
- list(APPEND ${name}_extra_targets "${name}:${name}-${name}")
+ foreach(target_name IN LISTS SUB_COMPONENTS SUB_INSTALL_TARGETS)
+ list(APPEND ${name}_extra_targets "${target_name}:${target_name}-${name}")
endforeach()
if(LLVM_INCLUDE_TESTS)
- list(APPEND ${name}_test_targets runtimes-test-depends-${name} check-runtimes-${name})
+ list(APPEND ${name}_test_targets
+ "runtimes-test-depends:runtimes-test-depends-${name}"
+ "check-runtimes:check-runtimes-${name}")
foreach(target_name IN LISTS SUB_CHECK_TARGETS)
list(APPEND ${name}_test_targets "${target_name}:${target_name}-${name}")
- list(APPEND test_targets ${target_name}-${name})
+ list(APPEND test_targets "${target_name}-${name}")
endforeach()
set(test_targets "${test_targets}" PARENT_SCOPE)
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37245.113637.patch
Type: text/x-patch
Size: 1649 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170902/1118ccc6/attachment.bin>
More information about the llvm-commits
mailing list