From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22860 invoked from network); 7 Feb 2004 17:18:16 +0000 Received: from smtp.gentoo.org (128.193.0.39) by eagle.gentoo.oregonstate.edu with DES-CBC3-SHA encrypted SMTP; 7 Feb 2004 17:18:16 +0000 Received: from lists.gentoo.org ([128.193.0.34] helo=eagle.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.24) id 1ApW5v-00040R-OB for arch-gentoo-portage-dev@lists.gentoo.org; Sat, 07 Feb 2004 17:18:15 +0000 Received: (qmail 704 invoked by uid 50004); 7 Feb 2004 17:18:14 +0000 Mailing-List: contact gentoo-portage-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail Reply-To: gentoo-portage-dev@lists.gentoo.org X-BeenThere: gentoo-portage-dev@gentoo.org Received: (qmail 18591 invoked from network); 7 Feb 2004 17:18:13 +0000 Date: Sat, 7 Feb 2004 18:17:57 +0100 From: Sven Vermeulen To: gentoo-portage-dev@lists.gentoo.org Message-ID: <20040207171757.GA16817@gentoo.org> References: <200402071318.47224.thomas@horsten.com> <20040207170418.GA558@hx.se> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g" Content-Disposition: inline In-Reply-To: <20040207170418.GA558@hx.se> User-Agent: Mutt/1.5.4i Subject: Re: [gentoo-portage-dev] emerge feature request: Downloads managed by lock file system X-Archives-Salt: ca91c24f-9673-4ed4-ad2c-b647c3eb2971 X-Archives-Hash: 9ca5c2244e23fd6c11959057fcde3c61 --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 07, 2004 at 06:04:18PM +0100, Simon Mika wrote: > Although I have a computer that is a bit slower I have the similiar probl= em. > Downloading does not consume much processorpower and athor machine > resources. But compiling does need a lot. Wy don't use always use 2 > parallell processes, one that downloads, and one that compiles. The > compiling process would still need to be synced with the downloading, but > that should not be too hard to implement with some semaphore or similiar > solution. A quick 'n dirty hack in the FETCHCOMMAND should suffice. Something along t= he lines of (pseudocode): FETCHCOMMAND=3D"if exists \${DISTDIR}/`basename \${URL}.lck`; then skip; el= se \ touch \${DISTDIR}/`basename \${URL}.lck`; \ /usr/bin/wget ...; \ rm \${DISTDIR}/`basename \${URL}.lck`; fi" This of course as a temporary solution ;) Wkr, Sven Vermeulen --=20 FOSDEM 2004 Free and Open Source Developers European Meeting 21 - 22 februari Brussels, Belgium http://www.fosdem.org http://www.gentoo.org Documentation & PR swift@gentoo.org --2fHTh5uZTiUOsy+g Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAJR3FXfqz7M26L9sRAsXGAJ0YFhpjUHht8mwc06YwqdJ0jHHVCACfUKoK SiSzjCIc2uLVajoP0jAqP+Y= =Lc15 -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g--