diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-11-08 00:54:41 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-11-08 00:54:41 +0000 |
commit | 9bd27f728edfc1a4dd7a969ba1ed4c6a73659f9f (patch) | |
tree | 096bd286bf676549e6b8f7471a03d9f93ead1d43 /share | |
parent | 11710a073f9cac1a39e1bdd00ce0c4c55ffe6ec4 (diff) | |
download | FreeBSD-src-9bd27f728edfc1a4dd7a969ba1ed4c6a73659f9f.zip FreeBSD-src-9bd27f728edfc1a4dd7a969ba1ed4c6a73659f9f.tar.gz |
Regen after r290526 for WITH_CCACHE_BUILD.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man5/src.conf.5 | 45 |
1 files changed, 44 insertions, 1 deletions
diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5 index 192ea89..5f32a46 100644 --- a/share/man/man5/src.conf.5 +++ b/share/man/man5/src.conf.5 @@ -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 system programs. .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 |