[PATCH] D119049: [LLD] Allow usage of LLD as a library

Alexandre Ganea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 16 15:48:04 PDT 2023


aganea added a comment.

In D119049#4429553 <https://reviews.llvm.org/D119049#4429553>, @MaskRay wrote:

> In D119049#4429521 <https://reviews.llvm.org/D119049#4429521>, @aganea wrote:
>
>> With binary files.
>
> I see that
>
>   config.environment["LLD_SRC_DIR"] = config.lld_src_dir
>
> sets the correct path, but `ninja check-lld-unit` still fails due to `thisPath.append(getenv("LLD_SRC_DIR"));` getting an empty string...

Can you post your entire `cmake` command?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119049



More information about the llvm-commits mailing list