[PATCH] D73252: [runtimes] Support install-*-stripped targets

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 22 22:43:09 PST 2020


smeenai created this revision.
smeenai added reviewers: beanz, compnerd, phosek, plotfi.
Herald added subscribers: llvm-commits, mgorny.
Herald added a project: LLVM.

This is needed to support including runtime targets in
LLVM_DISTRIBUTION_COMPONENTS.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73252

Files:
  llvm/runtimes/CMakeLists.txt


Index: llvm/runtimes/CMakeLists.txt
===================================================================
--- llvm/runtimes/CMakeLists.txt
+++ llvm/runtimes/CMakeLists.txt
@@ -431,7 +431,8 @@
     foreach(component ${LLVM_RUNTIME_DISTRIBUTION_COMPONENTS})
       set(${component}-${name} ${component})
       set(install-${component}-${name} install-${component})
-      list(APPEND ${name}_extra_targets ${component}-${name} install-${component}-${name})
+      set(install-${component}-${name}-stripped install-${component}-stripped)
+      list(APPEND ${name}_extra_targets ${component}-${name} install-${component}-${name} install-${component}-${name}-stripped)
     endforeach()
 
     if(LLVM_INCLUDE_TESTS)
@@ -525,6 +526,7 @@
           foreach(component ${LLVM_RUNTIME_DISTRIBUTION_COMPONENTS})
             add_custom_target(${component})
             add_custom_target(install-${component})
+            add_custom_target(install-${component}-stripped)
           endforeach()
         endif()
       endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73252.239780.patch
Type: text/x-patch
Size: 1018 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200123/da683766/attachment.bin>


More information about the llvm-commits mailing list