[PATCH] D40689: [llvm] Add install-distribution-stripped
Shoaib Meenai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 8 11:45:35 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL320184: [llvm] Add install-distribution-stripped (authored by smeenai).
Repository:
rL LLVM
https://reviews.llvm.org/D40689
Files:
llvm/trunk/CMakeLists.txt
Index: llvm/trunk/CMakeLists.txt
===================================================================
--- llvm/trunk/CMakeLists.txt
+++ llvm/trunk/CMakeLists.txt
@@ -985,6 +985,7 @@
add_custom_target(distribution)
add_custom_target(install-distribution)
+ add_custom_target(install-distribution-stripped)
foreach(target ${LLVM_DISTRIBUTION_COMPONENTS})
if(TARGET ${target})
add_dependencies(distribution ${target})
@@ -997,6 +998,14 @@
else()
message(SEND_ERROR "Specified distribution component '${target}' doesn't have an install target")
endif()
+
+ if(TARGET install-${target}-stripped)
+ add_dependencies(install-distribution-stripped install-${target}-stripped)
+ else()
+ message(SEND_ERROR "Specified distribution component '${target}' doesn't have an install-stripped target."
+ " Its installation target creation should be changed to use add_llvm_install_targets,"
+ " or you should manually create the 'install-${target}-stripped' target.")
+ endif()
endforeach()
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40689.126192.patch
Type: text/x-patch
Size: 1096 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171208/8080294e/attachment.bin>
More information about the llvm-commits
mailing list