[PATCH] D151188: [lld] Find resource and lib dir

Tobias Hieta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 24 03:02:23 PDT 2023


thieta added a comment.

In D151188#4367621 <https://reviews.llvm.org/D151188#4367621>, @hans wrote:

> The target handling, which seems to be the tricky part, is only needed for `LLVM_ENABLE_PER_TARGET_RUNTIME_DIR` builds, right? And as far as I know that's not used on Windows, so maybe it's not needed?

We use it in our toolchain - we had problems with supporting all different cross-compile scenarios unless we used this setting. And, afaik, this is what we want to default to in the future, so not supporting it would not be good enough.

> I think I asked this at the meeting, but I forgot the answer already: is there a reason the compiler can't pass in the (relative) library paths as linker directives along with the library names in the .obj files?

I am not sure, I thought we only talked about not being possible to pass absolute paths because of reproducibility.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151188



More information about the llvm-commits mailing list