Enable parallel build gcc on Linux
H . J . Lu
hjl@lucon.org
Thu Jun 8 07:05:00 GMT 2000
On Thu, Jun 08, 2000 at 03:20:45PM +0200, Marc Espie wrote:
> I've had a fun idea to expose parallel builds errors.
> I'll have a patch for pmake to do it soon, but I assume the idea
> is easily applicable to gnu-make as well:
>
> just reverse all dependencies at parsing stage. If Makefile says:
> a: b c d
>
> you read:
> a: d c b
>
> If the Makefile is correctly specified, it won't change a thing. If it
> depends on sequential behavior, hum, oh.... it will be fun.
>
That is not a bad idea. My quad-Xeon does a pretty good job on it even
without any changes to gnu make. I will see what 8way will do :-).
H.J.
More information about the Gcc
mailing list