Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 2010 10:22:25 +0100
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        Rob Farmer <rfarmer@predatorlabs.net>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, Emanuel Haupt <ehaupt@FreeBSD.org>, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/devel/ccache Makefile ports/devel/ccache/files ccache-howto-freebsd.txt.in
Message-ID:  <20101117102225.892507d1.ehaupt@FreeBSD.org>
In-Reply-To: <AANLkTimQEcO3Ne%2BhjeQnsb8iLT7krG6esRFHOvMisVnt@mail.gmail.com>
References:  <201011170010.oAH0AOV9022776@repoman.freebsd.org> <AANLkTimQEcO3Ne%2BhjeQnsb8iLT7krG6esRFHOvMisVnt@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Rob Farmer <rfarmer@predatorlabs.net> wrote:
> On Tue, Nov 16, 2010 at 16:10, Emanuel Haupt <ehaupt@freebsd.org>
> wrote:
> > ehaupt =A0 =A0 =A02010-11-17 00:10:24 UTC
> >
> > =A0FreeBSD ports repository
> >
> > =A0Modified files:
> > =A0 =A0devel/ccache =A0 =A0 =A0 =A0 Makefile
> > =A0 =A0devel/ccache/files =A0 ccache-howto-freebsd.txt.in
> > =A0Log:
> > =A0Update instructions on how to workaround a buildworld failure.
> >
> > =A0[1]
> > http://kerneltrap.org/mailarchive/freebsd-hackers/2010/11/8/6886684
>=20
> # src options
> .if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*))
> .if !defined(NOCCACHE)
> CC:=3D${CC:C,^cc,/usr/local/libexec/ccache/world-cc,1}
> CXX:=3D${CXX:C,^c\+\+,/usr/local/libexec/ccache/world-c++,1}
> .endif
> .endif
>=20
> This will allow ccache to still be used for the lib32 bits - if I am
> reading correctly, your directions revert to regular gcc for this
> stage.

Correct.

> (I didn't come up with this - it was discussed on questions@ a few
> months back).

Unfortunately I missed that discussion since I'm not subscribed to
questions. I will look into it, thanks for bringing this up.

Emanuel



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