[PATCH] D62040: [docs] Add new document on building distributions
Chris Bieneman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 17 09:24:21 PDT 2019
beanz added a comment.
In D62040#1506176 <https://reviews.llvm.org/D62040#1506176>, @hans wrote:
> But the install target is kind of a standard cmake thing; wouldn't it be better if we made that target good? That's also what the cmake "package" target uses, which is what we use to build the Windows installer.
It has been a while since I introduced this stuff (3 years now), but the rationale was that the `install` target and the `all` target aren't really well exposed in CMake. One of the goals of this was to reduce build time for generating distributions, and there is no way in CMake to "build only the things that get installed" without running the ``install`` target.
I should look at how the ``package`` target works. I suspect there may be a way to make a ``package-distribution`` target.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62040/new/
https://reviews.llvm.org/D62040
More information about the llvm-commits
mailing list