Date: Mon, 26 Jan 2015 10:24:22 +0200 From: Ivan Klymenko <fidaj@ukr.net> To: Scott Bennett <bennett@sdf.org> Cc: freebsd-questions@freebsd.org Subject: Re: buildworld, buildkernel, and devel/cache Message-ID: <20150126102422.518a48db@nonamehost.local> In-Reply-To: <201501260602.t0Q6247U019973@sdf.org> References: <201501260602.t0Q6247U019973@sdf.org>
next in thread | previous in thread | raw e-mail | index | archive | help
=D0=92 Mon, 26 Jan 2015 00:02:04 -0600 Scott Bennett <bennett@sdf.org> =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > I am now running FreeBSD 10.1-STABLE (amd64) r277396 and have > installed devel/ccache. In /etc/make.conf I have >=20 > WITH_CCACHE_BUILD=3Dyes > CCACHE_CPP2=3D1 >=20 > In /etc/src.conf I have >=20 > WITH_LLDB=3D >=20 > In /root/.profile I have >=20 > CCACHE_DIR=3D/buildwork/ccache > export PATH=3D/usr/local/libexec/ccache:$PATH > export CCACHE_PATH=3D/usr/bin:/usr/local/bin >=20 > In /root/.cshrc.extensions, a file I source from /root/.cshrc, I have >=20 > setenv CCACHE_DIR /buildwork/ccache > setenv PATH /usr/local/libexec/ccache:$PATH > setenv CCACHE_PATH /usr/bin:/usr/local/bin >=20 > ccache seems to be working just fine for building ports with > portmaster, but I don't see any evidence that either "make > buildworld" or "make buildkernel" make any use of ccache at all. > I've searched the archives for several FreeBSD lists, but haven't > turned up anything helpful. If someone knows what I need to do to > get ccache involved in buildworld and buildkernel, would you share it > here please? I would very much like to reduce the times for those > builds. Also, if so, please Cc me directly because I'm currently > subscribed only to the digest form of these lists, which means I may > not see responses until the digest arrives, which is often a day or > more after a followup is posted. Thanks greatly for any help on this! >=20 This file is in some ways you can help /usr/local/share/doc/ccache/ccache-howto-freebsd.txt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150126102422.518a48db>
