Date: Thu, 15 Oct 2015 17:49:12 -0700 From: Bryan Drewery <bdrewery@FreeBSD.org> To: Warren Block <wblock@wonkity.com> Cc: "current@FreeBSD.org" <current@FreeBSD.org> Subject: Re: [CFT] Buildworld ccache support Message-ID: <D1DBFACF-A083-412D-BE73-407B756A59E4@FreeBSD.org> In-Reply-To: <alpine.BSF.2.20.1510151830560.3711@wonkity.com> References: <561FC81B.1090309@FreeBSD.org> <alpine.BSF.2.20.1510151830560.3711@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Oct 15, 2015, at 17:31, Warren Block <wblock@wonkity.com> wrote: >=20 >> On Thu, 15 Oct 2015, Bryan Drewery wrote: >>=20 >> Hi, >>=20 >> If you are interested in using ccache in buildworld please consider >> using this patch locally and giving me some feedback. The current >> advice for ccache+buildworld (the CC:=3D trick in make.conf) actually >> results in the build thinking you are using a cross-compiler which >> results in unintended side-effects. It also doesn't work with meta mode >> as it handles CC and toolchain differently. This patch intends to cover >> all cases. >>=20 >> https://people.freebsd.org/~bdrewery/patches/world-ccache.diff >>=20 >> To use just set WITH_CCACHE_BUILD=3D in src.conf or make.conf. I >> purposely matched it to the same as the ports build. >=20 > Will this work on -stable? No but I could likely adapt it for there too. I'm more cautious about puttin= g this there since I never build stable. Bryan=20=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D1DBFACF-A083-412D-BE73-407B756A59E4>