[all-commits] [llvm/llvm-project] 87d4ea: [gn build] Make an explicit `use_lld = true` on ma...

Nico Weber via All-commits all-commits at lists.llvm.org
Sat Jan 9 11:10:27 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 87d4ea2433663b4aabe9c979a4dd47ef6adedc8b
      https://github.com/llvm/llvm-project/commit/87d4ea2433663b4aabe9c979a4dd47ef6adedc8b
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-01-09 (Sat, 09 Jan 2021)

  Changed paths:
    M llvm/utils/gn/build/BUILD.gn

  Log Message:
  -----------
  [gn build] Make an explicit `use_lld = true` on mac use lld.darwinnew

use_lld defaults to true on non-mac if clang_base_path is set (i.e.
the host compiler is a locally-built clang). On mac, the lld Mach-O
port used to be unusable, but ld64.lld.darwinnew is close to usable.
When explicitly setting `use_lld = true` in a GN build on a mac host,
check-lld passes, two check-clang tests fail, and a handful check-llvm
tests fail (the latter all due to -flat_namespace not yet being implemented).




More information about the All-commits mailing list