[all-commits] [llvm/llvm-project] 69cde9: [gn build] add llvm_install_cctools_symlinks arg

Nico Weber via All-commits all-commits at lists.llvm.org
Wed Mar 23 13:20:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69cde915e923d04de91a42bd901b062baad1cbc3
      https://github.com/llvm/llvm-project/commit/69cde915e923d04de91a42bd901b062baad1cbc3
  Author: Nico Weber <thakis at chromium.org>
  Date:   2022-03-23 (Wed, 23 Mar 2022)

  Changed paths:
    M llvm/utils/gn/secondary/BUILD.gn
    M llvm/utils/gn/secondary/lld/test/BUILD.gn
    M llvm/utils/gn/secondary/llvm/test/BUILD.gn
    A llvm/utils/gn/secondary/llvm/tools/cctools_symlinks.gni
    M llvm/utils/gn/secondary/llvm/tools/llvm-libtool-darwin/BUILD.gn
    M llvm/utils/gn/secondary/llvm/tools/llvm-lipo/BUILD.gn
    M llvm/utils/gn/secondary/llvm/tools/llvm-objcopy/BUILD.gn

  Log Message:
  -----------
  [gn build] add llvm_install_cctools_symlinks arg

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.

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




More information about the All-commits mailing list