This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by thakis on Oct 27 2021, 6:39 AM.

Details

Summary

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).

Diff Detail

Event Timeline

thakis requested review of this revision.Oct 27 2021, 6:39 AM
thakis created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptOct 27 2021, 6:39 AM
thakis retitled this revision from [gn build] Use LLD as host linker by default if clang_base_path is set to [gn build] Use LLD as host linker by default on macOS if clang_base_path is set.Oct 27 2021, 6:40 AM
hans accepted this revision.Oct 27 2021, 6:42 AM

lgtm

This revision is now accepted and ready to land.Oct 27 2021, 6:42 AM
This revision was landed with ongoing or failed builds.Oct 27 2021, 6:44 AM
This revision was automatically updated to reflect the committed changes.