Switch clang-check, clang-extdef-mapping and clang-offload-bundler
to use add_clang_tool() rather than add_clang_executable() with a custom
install rule. This makes them LLVM_DISTRIBUTION_COMPONENTS-friendly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Are these tools intended to be installed? I thought they were developer focused tools. I don't think we should make install targets for things that the project doesn't want to support publicly.
This also changes the behavior of the install target to include these extra tools, which will increase the size of installs that many people are using today with these tools. At the very least if we go down this direction we need to add some option like LLVM_INSTALL_TOOLCHAIN_ONLY so that we don't radically alter the current install behavior.
Comment Actions
Well, they were installed for me, and all of them certainly have install() command right now. Not sure if there's some high magic making install() implicitly not install stuff here ;-).