From owner-freebsd-ports Thu Feb 21 13:48:28 2002 Delivered-To: freebsd-ports@freebsd.org Received: from alcatraz.iptelecom.net.ua (alcatraz.iptelecom.net.ua [212.9.224.15]) by hub.freebsd.org (Postfix) with ESMTP id B0B1037B400 for ; Thu, 21 Feb 2002 13:48:21 -0800 (PST) Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by alcatraz.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id XAA76150; Thu, 21 Feb 2002 23:48:17 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from h197.228.dialup.iptcom.net (h197.228.dialup.iptcom.net [212.9.228.197]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id XAA83880; Thu, 21 Feb 2002 23:48:14 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Subject: Re: Speeding up bsd.ports.mk From: Maxim Sobolev To: Thomas Hurst Cc: freebsd-ports@FreeBSD.org In-Reply-To: <20020221193838.GA37118@voi.aagh.net> References: <3C73F34F.D9A58E8B@FreeBSD.org> <3C74B745.9D57D6A9@FreeBSD.org> <3C74BF4E.480E1D39@FreeBSD.org> <3C75260E.1F72E9F6@FreeBSD.org> <3C7544E3.2CC013B4@FreeBSD.org> <20020221193838.GA37118@voi.aagh.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-LHC5BbcmwYmCPBySSCvd" Message-Id: <1014327093.312.13.camel@notebook> Mime-Version: 1.0 X-Mailer: Evolution/1.0.2 Date: 21 Feb 2002 23:48:01 +0200 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=-LHC5BbcmwYmCPBySSCvd Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2002-02-21 at 21:38, Thomas Hurst wrote: > * Maxim Sobolev (sobomax@FreeBSD.org) wrote: >=20 > > OOPS, sorry, as usually last-time cleanup broke things. Attached > > please find patch that should actually work for fetch target. Please > > test and let me know if it works for you or not. >=20 > Just upgraded rsync and portupgrade using it and it worked fine > (although neither involved fetch, a make fetch on bash2 went fine too); Thanks, if possible please keep it in your tree for some time and let me know if there are any problems. > I can certainly notice the speedup. Quite likely, I see it with an unarmed eye here as well. > Now we just need a fetch target that supports resume Yuip. > and has smart > remote site selection What do you mean "smart selection"? > and to make the entire ports tree -j6 clean ;) This could be a little tricky, because in this case you need some form of locking mechanism, because otherwise build/install of the port invoked via traversing of the ports/category could collide with the build/install of the same port invoked via some of the ports that depend on it. Moreover, ports/Tools/portbuild already does it and even more - equivalent of `make -jN' distributed among several machines, so why bother? Thanks for testing! -Maxim --=-LHC5BbcmwYmCPBySSCvd Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQA8dWc0oNu5t4iCBa8RAm20AJsGd1rPY5Of67BrjlcaFnJJRv39YgCfZx96 zfH3MfBt+H+rmwUALoQXI4o= =udB5 -----END PGP SIGNATURE----- --=-LHC5BbcmwYmCPBySSCvd-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message