[libcxx-commits] [PATCH] D107799: [CMake] Enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR by default on Linux
Mike Hommey via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jun 9 01:31:51 PDT 2022
glandium added a comment.
Minimal reproducer:
- `git checkout 311f7839602344ca347816146edb68c0ffaaa060`
- `cmake llvm -B obj -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/tmp/llvm/stage1 -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_ENABLE_RUNTIMES="compiler-rt;libcxx;libcxxabi"`
- `ninja -C obj install`
- `cmake llvm -B obj2 -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang" -DCMAKE_C_COMPILER=/tmp/llvm/stage1/bin/clang`
The key to the failure is `$clang/lib/x86_64-unknown-linux-gnu` existing (even empty), which happens when enabling libcxx/libcxxabi.
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