[fpc-devel] parallel compilation support
Marco van de Voort
marcov at stack.nl
Mon Sep 15 10:27:27 CEST 2008
In our previous episode, Graeme Geldenhuys said:
> > What do you mean with parallel compilation? Starting up multiple compilers
> > like make -j? Or generating paralel code?
> >
> > The tree supports make -j x due to Jonas' efforts.
>
> I meant multiple compilers running in parallel compiling various units
> to ultimately build a single application executable or FPC itself. You
> answered my question for the latter.
>
> >From your response, I assume it's not an automated process (FPC can
> figure it out by itself)? Does it need some manual tweaking from the
> developer (via Makefiles maybe)?
Via makefiles yes, and only on directory level. But this requires to specify
the dependancies real precise. Currently afaik the packages/ dir uses
parallelization.
To take this a step further, it would take a multithreaded compiler I guess,
and a way to offer a lot of source at once to the compiler, with a hint to
use paralellism. But that is far, far off.
More information about the fpc-devel
mailing list