Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 2015 18:31:14 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Bryan Drewery <bdrewery@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: [CFT] Buildworld ccache support
Message-ID:  <alpine.BSF.2.20.1510151830560.3711@wonkity.com>
In-Reply-To: <561FC81B.1090309@FreeBSD.org>
References:  <561FC81B.1090309@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 Oct 2015, Bryan Drewery wrote:

> Hi,
>
> 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:= 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.
>
> https://people.freebsd.org/~bdrewery/patches/world-ccache.diff
>
> To use just set WITH_CCACHE_BUILD= in src.conf or make.conf.  I
> purposely matched it to the same as the ports build.

Will this work on -stable?



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