[libcxx-commits] [PATCH] D107799: [CMake] Enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR by default on Linux

Roman Lebedev via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Sep 28 15:23:35 PDT 2021


lebedev.ri requested changes to this revision.
lebedev.ri added a comment.
This revision now requires changes to proceed.

TLDR: it reproduces if there is some runtime library installed (e.g. `libc++-14-dev`),
then there is `/usr/lib/llvm-14/lib/x86_64-pc-linux-gnu/`,
which is i guess picked by cmake as the triple to use.

`mv /usr/lib/llvm-14/lib/x86_64-pc-linux-gnu /usr/lib/llvm-14/lib/x86_64-linux-gnu` hides the issue,
which highlights that the fix is as simple as understanding why clang is using `x86_64-pc-linux-gnu` triple on debian.
Please do not reland, the bug is real.

Thanks.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107799



More information about the libcxx-commits mailing list