[llvm] 1cce82e - Add more binutils tools to LLVM_INSTALL_TOOLCHAIN_ONLY target

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 4 14:12:01 PST 2019


Author: Sam Clegg
Date: 2019-11-04T14:11:23-08:00
New Revision: 1cce82eae84a65fc03402f90a67b5b804d02dd6c

URL: https://github.com/llvm/llvm-project/commit/1cce82eae84a65fc03402f90a67b5b804d02dd6c
DIFF: https://github.com/llvm/llvm-project/commit/1cce82eae84a65fc03402f90a67b5b804d02dd6c.diff

LOG: Add more binutils tools to LLVM_INSTALL_TOOLCHAIN_ONLY target

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

Differential Revision: https://reviews.llvm.org/D69635

Added: 
    

Modified: 
    llvm/cmake/modules/AddLLVM.cmake

Removed: 
    


################################################################################
diff  --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index b5f612469ff9..63f6fc7bf5d1 100644
--- a/llvm/cmake/modules/AddLLVM.cmake
+++ b/llvm/cmake/modules/AddLLVM.cmake
@@ -893,14 +893,30 @@ endfunction()
 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 some of above tools that are enabled by
+    # LLVM_INSTALL_BINUTILS_SYMLINKS.
+    addr2line
+    ar
+    c++filt
+    ranlib
+    nm
+    objcopy
+    objdump
+    size
+    strings
+    strip
     )
 endif()
 


        


More information about the llvm-commits mailing list