[PATCH] D122312: [gn build] add llvm_install_cctools_symlinks arg

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 23 06:39:36 PDT 2022


thakis created this revision.
thakis added a reviewer: aeubanks.
Herald added a reviewer: alexander-shaposhnikov.
Herald added a reviewer: rupprecht.
Herald added a reviewer: jhenderson.
Herald added a subscriber: ormris.
Herald added a project: All.
thakis requested review of this revision.
Herald added a subscriber: MaskRay.
Herald added a project: LLVM.

It behaves (mostly) like the LLVM_INSTALL_CCTOOLS_SYMLINKS option
in cmake.

The minor difference is that the llvm-objcopy symlinks bitcode_strip
and install_name_tool symlink to llvm-objcopy directly in the GN build,
while it's a bitcode_strip -> llvm-bitcode-strip -> objcopy chain
in the CMake build (and analogous for install_name_tool).

The implementation is very similar to the implementation of the
existing llvm_install_binutils_symlinks arg.


https://reviews.llvm.org/D122312

Files:
  llvm/utils/gn/secondary/BUILD.gn
  llvm/utils/gn/secondary/lld/test/BUILD.gn
  llvm/utils/gn/secondary/llvm/test/BUILD.gn
  llvm/utils/gn/secondary/llvm/tools/cctools_symlinks.gni
  llvm/utils/gn/secondary/llvm/tools/llvm-libtool-darwin/BUILD.gn
  llvm/utils/gn/secondary/llvm/tools/llvm-lipo/BUILD.gn
  llvm/utils/gn/secondary/llvm/tools/llvm-objcopy/BUILD.gn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122312.417590.patch
Type: text/x-patch
Size: 4527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220323/3ed0210e/attachment-0001.bin>


More information about the llvm-commits mailing list