[PATCH] D112622: [gn build] Use LLD as host linker by default on macOS if clang_base_path is set

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 27 06:44:19 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe545e11a9ee4: [gn build] Use LLD as host linker by default on macOS if clang_base_path is set (authored by thakis).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112622/new/

https://reviews.llvm.org/D112622

Files:
  llvm/utils/gn/build/toolchain/compiler.gni


Index: llvm/utils/gn/build/toolchain/compiler.gni
===================================================================
--- llvm/utils/gn/build/toolchain/compiler.gni
+++ llvm/utils/gn/build/toolchain/compiler.gni
@@ -21,5 +21,5 @@
   is_clang = host_os == "mac" || clang_base_path != ""
 
   # Set this to true to link with LLD instead of the default linker.
-  use_lld = clang_base_path != "" && host_os != "mac"
+  use_lld = clang_base_path != ""
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112622.382652.patch
Type: text/x-patch
Size: 451 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211027/97dc8b40/attachment.bin>


More information about the llvm-commits mailing list