[PATCH] D32710: [CMake][runtimes] Add install target for runtimes builtins
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 1 11:32:31 PDT 2017
phosek created this revision.
Herald added a subscriber: mgorny.
This adds an install-builtins target to avoid having to list all builtins targets explicitly.
https://reviews.llvm.org/D32710
Files:
runtimes/CMakeLists.txt
Index: runtimes/CMakeLists.txt
===================================================================
--- runtimes/CMakeLists.txt
+++ runtimes/CMakeLists.txt
@@ -188,6 +188,7 @@
else()
get_cmake_property(variableNames VARIABLES)
add_custom_target(builtins)
+ add_custom_target(install-builtins)
foreach(target ${LLVM_BUILTIN_TARGETS})
string(REPLACE "-" ";" builtin_target_list ${target})
foreach(item ${builtin_target_list})
@@ -218,6 +219,7 @@
USE_TOOLCHAIN
${EXTRA_ARGS})
add_dependencies(builtins builtins-${target})
+ add_dependencies(install-builtins install-builtins-${target})
endforeach()
endif()
set(deps builtins)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32710.97320.patch
Type: text/x-patch
Size: 768 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170501/cb94ba34/attachment.bin>
More information about the llvm-commits
mailing list