[PATCH] D129855: [clang][PowerPC] Set lld as clang's default linker for PowerPC Linux

Quinn Pham via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 19 06:38:55 PDT 2022


quinnp added a comment.

In D129855#3657006 <https://reviews.llvm.org/D129855#3657006>, @MaskRay wrote:

> This is not right as using `ld.lld` as the default linker isn't the majority case. If you want to change the default for your distribution, set `-DCLANG_DEFAULT_LINKER=lld`.
> (Alternatively, you can have a `ld` symlink pointing to `lld`.)

Hi @MaskRay! Do you mean I should abandon this change or find a way to set the CMake variable `CLANG_DEFAULT_LINKER` to `lld` as default when building for PowerPC Linux? I wasn't able to find any examples of people setting CMake variables for specific distributions.

Thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129855



More information about the cfe-commits mailing list