Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2005 16:38:57 +0200
From:      Peter Pentchev <roam@ringlet.net>
To:        Michael Johnson <ahze@ahze.net>
Cc:        ports@freebsd.org
Subject:    Re: cvs commit: ports/devel/ccache/files ccache-howto-freebsd.txt.in
Message-ID:  <20050216143856.GE2971@straylight.m.ringlet.net>
In-Reply-To: <935230A5-74BB-4097-A2E2-E2EB379087BE@ahze.net>
References:  <200502051428.j15ES44W026508@repoman.freebsd.org> <20050207012456.7c391fb5@it.buh.tecnik93.com> <935230A5-74BB-4097-A2E2-E2EB379087BE@ahze.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <ahze@FreeBSD.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050216143856.GE2971>