-
- Downloads
Add ROOTCLING_ targets that allow more parallel rootcling invocations.
So far GENERATE_DICTIONARY depends on all the targets passed to its DEPENDENCIES argument. However, this means for some targets not only the generation of PCMs, rootmaps etc, but also the linking of this target (as for example the target `Hist` generates Hist.pcm and then also links libHist.so). We only care about the files generated by rootcling when we specify the dependencies here, so we can improve build performance here. This patch creates a new target for each dictionary generation command called ROOTCLING_{MODULE} which can be refernced by other rootcling invocations to state that they depend on the rootcling files (PCMs, rootmap, root-PCMs) of this module, but not on a fully built module. We then start checking for each dependency passed to GENERATE_DICTIONARY if there is a ROOTCLING_MODULE target and depend on this if possible. This should cause that all the rootcling invocations can be started earlier and the linking of modules and rootcling invocations of its dependencies now run in parallel.
Please register or sign in to comment