[PATCH] D132324: [RFC] Remove support for building libc++ with `LLVM_ENABLE_PROJECTS`
Vitaly Buka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 21 18:32:10 PDT 2022
vitalybuka added a comment.
In D132324#3738430 <https://reviews.llvm.org/D132324#3738430>, @vitalybuka wrote:
> In D132324#3738253 <https://reviews.llvm.org/D132324#3738253>, @MaskRay wrote:
>
>> @vitalybuka `-DLLVM_ENABLE_PROJECTS='libcxx;libcxxabi'` in `zorg/buildbot/builders/sanitizers/buildbot_functions.sh` needs adjustment.
>
> If I do -DLLVM_ENABLE_RUNTIMES='libcxx;libcxxabi' now it builds parts of LLVM
> problem is that with -DLLVM_USE_SANITIZER=Memory, it builds llvm instrumented as well, but we have no instrumented libc++, so we have false report
>
> previously with DLLVM_ENABLE_PROJECTS='libcxx;libcxxabi' no LLVM tools, like tbl-gen where built
>
> Fails like this: https://lab.llvm.org/buildbot/#/builders/74/builds/12976/steps/10/logs/stdio
>
> cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF -DCMAKE_C_COMPILER=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build0/bin/clang -DCMAKE_CXX_COMPILER=/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build0/bin/clang++ -DLLVM_USE_LINKER=lld '-DLLVM_ENABLE_RUNTIMES=libcxx;libcxxabi' -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_SANITIZER=Memory '-DCMAKE_C_FLAGS=-fsanitize=memory -fsanitize-memory-use-after-dtor -fsanitize-memory-param-retval ' '-DCMAKE_CXX_FLAGS=-fsanitize=memory -fsanitize-memory-use-after-dtor -fsanitize-memory-param-retval ' /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm
>
> ninja cxx cxxabi
>
> Worked with PROJECTS
I guess now I need to use runtimes/ for that?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132324/new/
https://reviews.llvm.org/D132324
More information about the cfe-commits
mailing list