[PATCH] D69635: Add more binutils tools to LLVM_INSTALL_TOOLCHAIN_ONLY target

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 30 12:56:56 PDT 2019


sbc100 created this revision.
Herald added subscribers: llvm-commits, aheejin, mgorny.
Herald added a project: LLVM.
sbc100 added a reviewer: hans.

Also add the aliases for these tools so that
LLVM_INSTALL_BINUTILS_SYMLINKS and LLVM_INSTALL_TOOLCHAIN_ONLY can work
together.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D69635

Files:
  llvm/cmake/modules/AddLLVM.cmake


Index: llvm/cmake/modules/AddLLVM.cmake
===================================================================
--- llvm/cmake/modules/AddLLVM.cmake
+++ llvm/cmake/modules/AddLLVM.cmake
@@ -893,14 +893,30 @@
 if(NOT LLVM_TOOLCHAIN_TOOLS)
   set (LLVM_TOOLCHAIN_TOOLS
     llvm-ar
+    llvm-cxxfilt
     llvm-ranlib
     llvm-lib
     llvm-nm
     llvm-objcopy
     llvm-objdump
     llvm-rc
+    llvm-size
+    llvm-strings
+    llvm-strip
     llvm-profdata
     llvm-symbolizer
+    # symlink version of above tools that are enabled by
+    # LLVM_INSTALL_BINUTILS_SYMLINKS.
+    ar
+    c++filt
+    ranlib
+    nm
+    objcopy
+    objdump
+    size
+    strings
+    strip
+    addr2line
     )
 endif()
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69635.227163.patch
Type: text/x-patch
Size: 707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191030/86ebeda3/attachment.bin>


More information about the llvm-commits mailing list