Date: Sun, 8 Nov 2015 00:54:41 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290528 - head/share/man/man5 Message-ID: <201511080054.tA80sfng051202@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Sun Nov 8 00:54:41 2015 New Revision: 290528 URL: https://svnweb.freebsd.org/changeset/base/290528 Log: Regen after r290526 for WITH_CCACHE_BUILD. Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ============================================================================== --- head/share/man/man5/src.conf.5 Sun Nov 8 00:50:46 2015 (r290527) +++ head/share/man/man5/src.conf.5 Sun Nov 8 00:54:41 2015 (r290528) @@ -1,7 +1,7 @@ .\" DO NOT EDIT-- this file is automatically generated. .\" from FreeBSD: head/tools/build/options/makeman 290435 2015-11-06 05:28:08Z bdrewery .\" $FreeBSD$ -.Dd November 5, 2015 +.Dd November 7, 2015 .Dt SRC.CONF 5 .Os .Sh NAME @@ -230,6 +230,49 @@ Set to not build Capsicum support into s .It Va WITHOUT_CASPER .\" from FreeBSD: head/tools/build/options/WITHOUT_CASPER 258838 2013-12-02 08:21:28Z pjd Set to not build Casper program and related libraries. +.It Va WITH_CCACHE_BUILD +.\" from FreeBSD: head/tools/build/options/WITH_CCACHE_BUILD 290526 2015-11-08 00:50:18Z bdrewery +Set to use +.Xr ccache 1 +for the build. +No configuration is required except to install the +.Sy devel/ccache +package. +Using with +.Xr distcc 1 +should set +.Sy CCACHE_PREFIX=/usr/local/bin/distcc . +The default cache directory of +.Pa $HOME/.ccache +will be used, which can be overridden by setting +.Sy CCACHE_DIR . +The +.Sy CCACHE_COMPILERCHECK +option defaults to +.Sy content +when using the in-tree bootstrap compiler, +and +.Sy mtime +when using an external compiler. +The +.Sy CCACHE_CPP2 +option is used for Clang but not GCC. +ccache works best when combined with the +.Sy WITH_FAST_DEPEND +option. +.Pp +Sharing a cache between multiple work directories requires using a layout +similar to +.Pa /some/prefix/src +.Pa /some/prefix/obj +and an environment such as: +.Bd -literal -offset indent +CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj' +.Ed +.Pp +See +.Xr ccache 1 +for more configuration options. .It Va WITHOUT_CCD .\" from FreeBSD: head/tools/build/options/WITHOUT_CCD 277678 2015-01-25 04:52:48Z ngie Set to not build
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511080054.tA80sfng051202>