This updates the LLVM wide documentation for building LLVM and the runtimes
and adds a CMake warning when folks specify libcxx, libcxxabi or libunwind
in LLVM_ENABLE_PROJECTS, pointing them to the updated instructions for
building the runtimes.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
This has been a source of confusion for many people - many thanks for clarifying this!
LGTM
llvm/CMakeLists.txt | ||
---|---|---|
67 | libcxx libcxxabi libunwind are still part of LLVM_ALL_PROJECTS and... | |
87 | ...this is below the warning you added. So if you say LLVM_ALL_PROJECTS=all you still get the old behavior, without a warning. Is that intentional? (Doesn't affect us, just happened to notice it while reading this file.) |
llvm/CMakeLists.txt | ||
---|---|---|
87 | I think it was intentional -- I didn't intend to issue a warning for folks who use all if they are not using libcxx, libcxxabi or libunwind explicitly. I think the next step would be to remove libcxx, libcxxabi` and libunwind from all, and to make this warning into an error since we don't support this anymore as of the branch point. |
libcxx libcxxabi libunwind are still part of LLVM_ALL_PROJECTS and...