[PATCH] D39530: [tools] Add option to create binutils symlinks

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 2 00:10:24 PDT 2017


smeenai created this revision.
Herald added subscribers: jakehehrlich, mgorny.

The LLVM tools can be used as a replacement for binutils, in which case
it's convenient to create symlinks with the binutils names. Add support
for these symlinks in the build system. As with any other llvm tool
symlinks, the user can limit the installed symlinks by only adding the
desired ones to `LLVM_TOOLCHAIN_TOOLS`.

I'm not the biggest fan of the name `LLVM_CREATE_BINUTILS_SYMLINKS`, but
it's the best one that came to mind right now. Better name suggestions
would be appreciated.


https://reviews.llvm.org/D39530

Files:
  tools/llvm-ar/CMakeLists.txt
  tools/llvm-cxxfilt/CMakeLists.txt
  tools/llvm-dwp/CMakeLists.txt
  tools/llvm-nm/CMakeLists.txt
  tools/llvm-objcopy/CMakeLists.txt
  tools/llvm-objdump/CMakeLists.txt
  tools/llvm-readobj/CMakeLists.txt
  tools/llvm-size/CMakeLists.txt
  tools/llvm-strings/CMakeLists.txt
  tools/llvm-symbolizer/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39530.121238.patch
Type: text/x-patch
Size: 3518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171102/136bdfba/attachment.bin>


More information about the llvm-commits mailing list