Time to abandon recursive pulling of dependencies?

[LoN]Kamikaze LoN_Kamikaze at gmx.de
Sun May 13 08:44:45 UTC 2007


[LoN]Kamikaze wrote:
> Stephen Montgomery-Smith wrote:
>> OK chaps, this is what I came up with.  So for example, if I do "make
>> install" on /usr/ports/x11/xorg (having made all the dependencies), on
>> my computer it turns the pkg_create from taking about 4 minutes to the
>> blink of an eye.  Now people need to figure out how to speed up the
>> "make package-depends" in bsd.ports.mk, but that is beyond my abilities.
> 
> I will give that a try, I've been experimenting with make a lot lately. Thank
> you for your patch, the second attempt seems to work fine on my system.

So far I've got a 20% performance increase, not really satisfying. The trouble
is that for every dependency the whole bsd.port.mk and whatever else is pulled
in by the dependency has to be parsed again. So the only way to make a
significant improvement is to have a short bsd.port.mk.


More information about the freebsd-ports mailing list