From owner-freebsd-ports@FreeBSD.ORG Sun May 13 08:49:36 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2211B16A408 for ; Sun, 13 May 2007 08:49:36 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 0A84013C45D for ; Sun, 13 May 2007 08:49:36 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 875A91A3C1A; Sun, 13 May 2007 01:50:20 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 239FD52C45; Sun, 13 May 2007 04:49:32 -0400 (EDT) Date: Sun, 13 May 2007 04:49:32 -0400 From: Kris Kennaway To: "[LoN]Kamikaze" Message-ID: <20070513084931.GA35696@xor.obsecurity.org> 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> <4646CFE3.1020105@gmx.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="X1bOJ3K7DJ5YkBrT" Content-Disposition: inline In-Reply-To: <4646CFE3.1020105@gmx.de> User-Agent: Mutt/1.4.2.2i Cc: Stephen Montgomery-Smith , freebsd-ports@freebsd.org, Kris Kennaway Subject: Re: Time to abandon recursive pulling of dependencies? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 May 2007 08:49:36 -0000 --X1bOJ3K7DJ5YkBrT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 13, 2007 at 10:44:19AM +0200, [LoN]Kamikaze wrote: > [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 abilitie= s. > >=20 > > 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. >=20 > So far I've got a 20% performance increase, not really satisfying. The tr= ouble > is that for every dependency the whole bsd.port.mk and whatever else is p= ulled > 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. Again, what evidence do you have that *that* is really the problem? Please try to be more scientific in your approach, it will help all of us to figure this out. Kris --X1bOJ3K7DJ5YkBrT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGRtEbWry0BWjoQKURAsncAKCbcfCSWDKz9GXkQd87gjuTma0F3QCglTf+ CHXSMnBsUArsDcmJJ1JczEQ= =GU3W -----END PGP SIGNATURE----- --X1bOJ3K7DJ5YkBrT--