summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CMake.rst
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2017-11-02 21:43:32 +0000
committerShoaib Meenai <smeenai@fb.com>2017-11-02 21:43:32 +0000
commit08bb38f7e75159f54c91667695954c5c0dbb69a0 (patch)
tree102f9fa67a85648bd95af61c2b5f515175618d00 /llvm/docs/CMake.rst
parent07eaa9b46ee01a37bcfcc00b60bf9735701c2c20 (diff)
downloadbcm5719-llvm-08bb38f7e75159f54c91667695954c5c0dbb69a0.tar.gz
bcm5719-llvm-08bb38f7e75159f54c91667695954c5c0dbb69a0.zip
[tools] Add option to install binutils symlinks
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`. Differential Revision: https://reviews.llvm.org/D39530 llvm-svn: 317272
Diffstat (limited to 'llvm/docs/CMake.rst')
-rw-r--r--llvm/docs/CMake.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst
index 473672b5f73..05edec64da3 100644
--- a/llvm/docs/CMake.rst
+++ b/llvm/docs/CMake.rst
@@ -224,6 +224,10 @@ LLVM-specific variables
Generate build targets for the LLVM tools. Defaults to ON. You can use this
option to disable the generation of build targets for the LLVM tools.
+**LLVM_INSTALL_BINUTILS_SYMLINKS**:BOOL
+ Install symlinks from the binutils tool names to the corresponding LLVM tools.
+ For example, ar will be symlinked to llvm-ar.
+
**LLVM_BUILD_EXAMPLES**:BOOL
Build LLVM examples. Defaults to OFF. Targets for building each example are
generated in any case. See documentation for *LLVM_BUILD_TOOLS* above for more
OpenPOWER on IntegriCloud