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

Fangrui Song via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 8 00:50:30 PDT 2022


MaskRay added a comment.

In D107799#3565613 <https://reviews.llvm.org/D107799#3565613>, @glandium wrote:

> What is your `$HOME/Stable/bin/clang`? it has to be a clang with the patch applied.

I use prebuilt clang from `curl -s https://raw.githubusercontent.com/chromium/chromium/main/tools/clang/scripts/update.py | python3 - --output-dir=~/Stable`.

But it is irrelevant here. Using GCC (`cmake -GNinja -Sllvm -B/tmp/out/custom2 -DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra;flang;lldb;lld;compiler-rt;openmp;mlir;polly;cross-project-tests' -DLLVM_ENABLE_RUNTIMES='libcxx;libcxxabi;libunwind' -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc`) works fine, too.


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