Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 May 2007 10:44:19 +0200
From:      "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de>
To:        Stephen Montgomery-Smith <stephen@math.missouri.edu>
Cc:        freebsd-ports@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Time to abandon recursive pulling of dependencies?
Message-ID:  <4646CFE3.1020105@gmx.de>
In-Reply-To: <4646AC48.1010107@gmx.de>
References:  <464597C6.3030406@gmx.de>	<20070512174011.GA22526@xor.obsecurity.org>	<4645FF71.60100@gmx.de>	<20070512175824.GA23103@xor.obsecurity.org>	<20070512133054.B5588@math.missouri.edu>	<4646193E.5040503@gmx.de>	<464665D5.1090509@math.missouri.edu> <4646AC48.1010107@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
[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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4646CFE3.1020105>