[PATCH] D131310: [llvm-driver] Support single distributions
Alex Brachet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 5 20:47:49 PDT 2022
abrachet created this revision.
abrachet added a reviewer: phosek.
Herald added subscribers: sunfish, mgorny.
Herald added a project: All.
abrachet requested review of this revision.
Herald added subscribers: llvm-commits, aheejin.
Herald added a project: LLVM.
This adds support for building a separate llvm driver which includes
only `LLVM_DISTRIBUTION_COMPONENTS`. A later patch will follow with
support for multiple distributions.
A distribution including clang, llvm-cxxfilt and lld will look like
17 clang -> llvm-distribution*
17 clang++ -> llvm-distribution*
17 clang-cl -> llvm-distribution*
17 clang-cpp -> llvm-distribution*
3 ld64.lld -> lld*
3 ld.lld -> lld*
673825408 lld*
3 lld-link -> lld*
17 llvm-cxxfilt -> llvm-distribution*
1244000992 llvm-distribution*
3 wasm-ld -> lld*
lld is included as an example tool that is not currently part of the
driver build.
The default ninja target will continue to create the `llvm` tool and
it's subcommands continue to link to it.
4 llvm-cxxfilt -> llvm*
1263424168 llvm*
https://reviews.llvm.org/D131310
Files:
clang/cmake/modules/AddClang.cmake
llvm/cmake/modules/AddLLVM.cmake
llvm/cmake/modules/LLVMDistributionSupport.cmake
llvm/tools/CMakeLists.txt
llvm/tools/llvm-driver/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131310.450465.patch
Type: text/x-patch
Size: 9218 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220806/2452c487/attachment.bin>
More information about the llvm-commits
mailing list