[PATCH] [CMake][Concept] Auto dependency scanner "tddeps" for *.td

Joerg Sonnenberger joerg at britannica.bec.de
Tue Feb 25 09:46:45 PST 2014


On Tue, Feb 25, 2014 at 12:41:49PM -0500, Rafael EspĂ­ndola wrote:
> > I don't understand what part of it is redundant. The created
> > dependencies are exactly the files processed by the parser.
> 
> But not every file depends on every tablegen output. If you know which
> ones are independent, you can start compiling those in parallel.

Yes, that's what I am doing in NetBSD's LLVM build system. I have one
pass to effectively build all the common *.inc files. I use the tblgen
dependency output to decide when to rebuild those. If I touch one td
file, the derived files of that file and only that file are rebuild.

Joerg



More information about the llvm-commits mailing list