This is an archive of the discontinued LLVM Phabricator instance.

Find libc++ in the per-target runtime directory

Authored by eugenis on Aug 26 2021, 1:53 PM.



Fixes build after "[CMake] Enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR by
default on Linux.

Diff Detail

Event Timeline

eugenis created this revision.Aug 26 2021, 1:53 PM
eugenis requested review of this revision.Aug 26 2021, 1:53 PM

Breaking revision:

It would be nice if something like -print-runtime-dir, but we don't even build clang in this directory.

vitalybuka accepted this revision.Aug 26 2021, 1:56 PM
This revision is now accepted and ready to land.Aug 26 2021, 1:56 PM

we probably can install libcxx into dir we want

MaskRay accepted this revision.Aug 26 2021, 2:01 PM
MaskRay added a subscriber: MaskRay.

Thanks for investigating the issue:)

This revision was automatically updated to reflect the committed changes.

I've also added -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF in a follow-up commit because there are more issues.