diff options
author | Shoaib Meenai <smeenai@fb.com> | 2017-11-02 21:43:32 +0000 |
---|---|---|
committer | Shoaib Meenai <smeenai@fb.com> | 2017-11-02 21:43:32 +0000 |
commit | fbb50d9079f4281847a47d0aba5c29455237da63 (patch) | |
tree | 08863f07573aba58490e5198a5be7c31ed5ea630 /docs | |
parent | dc666ea9df629f7b5ec1506993f15d406a52acc6 (diff) |
[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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317272 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/CMake.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/CMake.rst b/docs/CMake.rst index 473672b5f73..05edec64da3 100644 --- a/docs/CMake.rst +++ b/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 |