[PATCH] D23755: cmake: Add an ordering dep between HTML & man Sphinx targets

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 30 14:42:42 PDT 2016


beanz added a comment.

In https://reviews.llvm.org/D23755#540180, @mgorny wrote:

> Are you sure about that? It doesn't impact performance much on dual-core system but on a single core it will run twice as long.


I don't think it is worth optimizing for single core machines. Multi-core CPUs are the norm these days, so I would prefer not to optimize for them.

> Why are you concerned about the build graph?

Having a non-constrained build graph allows multi-core CPUs to better utilize their resources.

An alternative solution would be to use Sphinx's DummyBuilder to generate the doctree. It is a builder that produces no output, so it should suffice as a way to generate the doctree which could then be shared between the other documentation builds.


https://reviews.llvm.org/D23755





More information about the llvm-commits mailing list