diff options
author | Loïc Minier <lool@dooz.org> | 2010-01-02 17:12:47 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2010-01-02 17:15:32 +0100 |
commit | 59082fcfab2b7f4272a0bb0f3a812fc779e9f5ba (patch) | |
tree | c3d13e71335ee6ec35b79971f0a259b2bc890932 /pbuilderrc.5 | |
parent | adf712fc4a1037f68d19aa30c0f010d3e1588153 (diff) | |
download | pbuilder-59082fcfab2b7f4272a0bb0f3a812fc779e9f5ba.tar pbuilder-59082fcfab2b7f4272a0bb0f3a812fc779e9f5ba.tar.gz |
Add builtin ccache support, enabled by default
Add builtin support for using ccache in pbuilder and enable it by
default. Ship a new /var/cache/pbuilder/ccache dir and bind-mount and
chown it to BUILDUSERID at build time. Install/remove ccache
automatically on create/update if CCACHEDIR is set/unset. Update docs
and remove old ccache config example. Add a NEWS entry featuring the
change.
Diffstat (limited to 'pbuilderrc.5')
-rw-r--r-- | pbuilderrc.5 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pbuilderrc.5 b/pbuilderrc.5 index 881e91a..2dd6187 100644 --- a/pbuilderrc.5 +++ b/pbuilderrc.5 @@ -150,6 +150,16 @@ For details, see .B "pbuilder.8" .TP +.BI "CCACHEDIR=" "/var/cache/pbuilder/ccache" +Specifies where ccache will keep its cached compiler output. + +If this is specified, ccache will be installed upon pbuilder create or +pbuilder update, /usr/lib/ccache will be prepended to the PATH, +CCACHEDIR will be bind-mounted in the chroot, and CCACHE_DIR will be +set to CCACHEDIR. Note that files in CCACHEDIR are chowned to +BUILDUSERID (1234 by default). + +.TP .BI "DEBBUILDOPTS=" "" The options given here will be passed on to |