[all-commits] [llvm/llvm-project] e545e1: [gn build] Use LLD as host linker by default on ma...

Nico Weber via All-commits all-commits at lists.llvm.org
Wed Oct 27 06:44:21 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e545e11a9ee428f047833ca48e7e213d831fbad8
      https://github.com/llvm/llvm-project/commit/e545e11a9ee428f047833ca48e7e213d831fbad8
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-10-27 (Wed, 27 Oct 2021)

  Changed paths:
    M llvm/utils/gn/build/toolchain/compiler.gni

  Log Message:
  -----------
  [gn build] Use LLD as host linker by default on macOS if clang_base_path is set

lld/mac should be stable enough to use it as host linker. I've been
using `use_lld=true` in my local args.gn for many months now and it
works fine (and links much faster than ld64).

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




More information about the All-commits mailing list