2009/11/14 David W Noon <[email protected]>:
> On Fri, 13 Nov 2009 23:47:10 +0100, Marc Weustink wrote about Re:
> [Lazarus] make option -j:
>
> [snip]
>> All lcl units are compiled by fpc through the allunits.pp
>> "project" (we use this to let fpc figure out the dependencies)
>> The same counts for the ide.
>>
>> I hope when specifying -j2 it builds the lcl first and after that the
>> lcl/interfaces. If not, it wont work.
>
> The make utility still has to follow the dependency graph of the
> project. It can only parallelize specific builds within a node of that
> graph.
>
>> So, you won't gain much.
>
> Indeed, this is often the case on fairly small projects.

I don't even gain much when compiling fpc with -j 8 on my quad core.
It makes a huge difference when compiling the kernel, but I should
probably try and compare gcc.  Must be a dependency issue as you say,
I hope fpmake can fix this somehow.

Henry

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to