From owner-freebsd-ports@FreeBSD.ORG Wed Feb 16 14:39:00 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5D9716A4CE for ; Wed, 16 Feb 2005 14:39:00 +0000 (GMT) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 3FD5943D58 for ; Wed, 16 Feb 2005 14:38:59 +0000 (GMT) (envelope-from roam@ringlet.net) Received: (qmail 10384 invoked from network); 16 Feb 2005 14:38:53 -0000 Received: from unknown (HELO straylight.ringlet.net) (213.16.36.109) by gandalf.online.bg with SMTP; 16 Feb 2005 14:38:53 -0000 Received: (qmail 6614 invoked by uid 1000); 16 Feb 2005 14:38:57 -0000 Date: Wed, 16 Feb 2005 16:38:57 +0200 From: Peter Pentchev To: Michael Johnson Message-ID: <20050216143856.GE2971@straylight.m.ringlet.net> Mail-Followup-To: Michael Johnson , Ion-Mihai Tetcu , ports@freebsd.org References: <200502051428.j15ES44W026508@repoman.freebsd.org> <20050207012456.7c391fb5@it.buh.tecnik93.com> <935230A5-74BB-4097-A2E2-E2EB379087BE@ahze.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VbfcI4OLZ4XW0yH2" Content-Disposition: inline In-Reply-To: <935230A5-74BB-4097-A2E2-E2EB379087BE@ahze.net> User-Agent: Mutt/1.5.8i cc: Ion-Mihai Tetcu cc: ports@freebsd.org Subject: Re: cvs commit: ports/devel/ccache/files ccache-howto-freebsd.txt.in X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Feb 2005 14:39:00 -0000 --VbfcI4OLZ4XW0yH2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 06, 2005 at 10:47:53PM -0500, Michael Johnson wrote: > On Feb 6, 2005, at 6:24 PM, Ion-Mihai Tetcu wrote: >=20 >=20 >=20 > >On Sat, 5 Feb 2005 14:28:03 +0000 (UTC) > >Michael Johnson wrote: > > > > > >>ahze 2005-02-05 14:28:03 UTC > >> > >> FreeBSD ports repository > >> > >> Modified files: > >> devel/ccache/files ccache-howto-freebsd.txt.in > >How much does it worth to use ccache for building the kernel and system > >as opposed to -DNOCLEAN and -DNO_KERNELCLEAN ? > > > You could always do both. Would there be any *sense* in that, though? :) The only reason -DNOCLEAN speeds up things is that it only rebuilds files that depend on files that have actually changed. In that case, I don't see how ccache could help - if a header file has changed, the C preprocessor output will definitely not be the same, and ccache will certainly rebuild the file. The only case in which -DNOCLEAN rebuilds something and ccache finds that it is just the same in the old version is when a change is committed and then *immediately* backed out, so that the only difference between the old and new files is in their $FreeBSD$ tag. This doesn't happen all that often, though :) G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence would be seven words long if it were six words shorter. --VbfcI4OLZ4XW0yH2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCE1sA7Ri2jRYZRVMRAvWZAKCBKagpyVGac+lkmcYQecy4WdM64QCfTyde vsY4YG0Lp2UK5Ijr3vJSoDk= =J10y -----END PGP SIGNATURE----- --VbfcI4OLZ4XW0yH2--