From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6351 invoked from network); 8 Oct 2004 11:02:18 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 8 Oct 2004 11:02:18 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.41) id 1CFsVs-0005xT-RD for arch-gentoo-portage-dev@lists.gentoo.org; Fri, 08 Oct 2004 11:02:16 +0000 Received: (qmail 30345 invoked by uid 89); 8 Oct 2004 11:02:15 +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 1571 invoked from network); 8 Oct 2004 11:02:15 +0000 From: Dan Armak Reply-To: danarmak@gentoo.org To: gentoo-portage-dev@lists.gentoo.org Date: Fri, 8 Oct 2004 13:02:58 +0200 User-Agent: KMail/1.7 References: <200410072357.52578.danarmak@gentoo.org> <200410081259.52562.danarmak@gentoo.org> In-Reply-To: <200410081259.52562.danarmak@gentoo.org> Organization: Gentoo Technologies, Inc. MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1294732.EdudzgcdEa"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200410081302.58585.danarmak@gentoo.org> Subject: Re: [gentoo-portage-dev] Re: Port of Stuart's confcache for .51_rc7 X-Archives-Salt: 6d48eb5a-d4ff-4b60-b6f2-3934d3403ef0 X-Archives-Hash: d6548cf17804dbba8b0e16a8c0005c91 --nextPart1294732.EdudzgcdEa Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 08 October 2004 12:59, Dan Armak wrote: > A slightly updated patch is now up at http://dev.gentoo.org/~danarmak/, > updates will go there from now on. > > For some reason I'm not seeing my own mails to gentoo-portage-dev, so if > you receive this there, please take the time to send me a quick > confirmation... I did receive this one. In case some of you haven't received the first one= =20 either, I'm quoting it here (and note the updated location above): I ported Stuart's confcache patch from portage .50 to .51_rc7 (hope cvs hea= d=20 isn't too different...). I also made a few changes and fixes - see attached= =20 changelog if you used the orig patch. What this does: it keeps a central cache for autoconf-generated configure=20 scripts in /var/tmp. When econf is called, it checks the cache's validity=20 against a list of files & md5sums. If any files have changed, the entire=20 cache is cleared. During configure's run, the sandbox logs all files accessed. There is a sma= ll=20 patch to libsandbox.c, unchanged from Stuart's version, to allow this. Then= ,=20 the file/md5sum list is updated. The sandbox log then has to be manually=20 fixed up to remove these entries. Ebuild-side: FEATURES+=3Dconfcache enables this. Either use econf, or call= =20 confcache_start and confcache_stop before and after your configure run.=20 confcache_start adds the --with-cache=3Dfoo parameter to $ECONF_EXTRA; pass= =20 that to configure. Embedded people: I've been asked to keep a separate cache for every=20 combination of $CHOST, $CBUILD, $THOST. Please confirm that's how you want= =20 it. Myself, I need it to speed up the upcoming split kde ebuilds (eg separate=20 ebuilds for konqueror etc rather than one big kdebase ebuild). Stuart, I hope you're ok with my changes. Basically they just consist of=20 updating the patch for the new version's ebuild.sh and fixing a couple of=20 bugs. Comments welcome (my first patch to portage, hope it works :-). Credit goes= to=20 Stuart, bugs to me (except for sandbox). =2D-=20 Dan Armak Gentoo Linux developer (KDE) Matan, Israel Public GPG key: http://dev.gentoo.org/~danarmak/danarmak-gpg-public.key =46ingerprint: DD70 DBF9 E3D4 6CB9 2FDD 0069 508D 9143 8D5F 8951 --nextPart1294732.EdudzgcdEa Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQBBZnPiUI2RQ41fiVERAnchAJ90ZXydA3kYg+t9HE3Oo619A8DPwwCfdAyL du3QsYuom/1hM0gVwcQ3z0I= =MHKF -----END PGP SIGNATURE----- --nextPart1294732.EdudzgcdEa--