]> xenbits.xensource.com Git - people/liuw/freebsd.git/commitdiff
Regen after r290526 for WITH_CCACHE_BUILD.
authorbdrewery <bdrewery@FreeBSD.org>
Sun, 8 Nov 2015 00:54:41 +0000 (00:54 +0000)
committerbdrewery <bdrewery@FreeBSD.org>
Sun, 8 Nov 2015 00:54:41 +0000 (00:54 +0000)
share/man/man5/src.conf.5

index 192ea89c8925686134a25e66d06208978b593015..5f32a4659759ebf454aea57af802764b1ec8a622 100644 (file)
@@ -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