[Ada] Reenable parallel build

Laurent GUERBY laurent@guerby.net
Mon Mar 31 12:13:00 GMT 2008


On Mon, 2008-03-31 at 09:54 +0200, Arnaud Charlet wrote:
> > Is there any reason why parallel build is disabled in
> > gcc/ada/Makefile.in? It seems to come from an old commit:

> I have some local changes (not fully tested, and not committed anywhere)
> that might slightly improve things in this area (by running a single
> gnatmake command to build all gnattools to avoid having multiple gnatmake
> run in parallel, generating the same objects), but still need some refinements
> and testing.

We could have each one of the tools built in its own separate
directory so object files don't conflict, this is what we do for
ada/bldtools/xxx IIRC.

If there is "significant" recompilation of common parts between the
gnattools, we can make a target "gnattools_common" for some of the
common parts and serialize tools to depend on gnattools_common.

For gnatlib and gnattools in parallel, we could also simply serialize,
no?

Laurent



More information about the Gcc-patches mailing list