From 4e2bb7a4dd479d0bf56a156cbde0be4bbeda2b39 Mon Sep 17 00:00:00 2001 From: Junichi Uekawa Date: Wed, 12 Dec 2012 18:50:30 +0900 Subject: update documentation about CCACHEDIR (closes: #694311) It is no longer enabled by default because it doesn't satisfy the expectation of standard pbuilder behavior. --- Documentation/pbuilder-doc.xml | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'Documentation') diff --git a/Documentation/pbuilder-doc.xml b/Documentation/pbuilder-doc.xml index 0860766..8d4073b 100644 --- a/Documentation/pbuilder-doc.xml +++ b/Documentation/pbuilder-doc.xml @@ -1492,17 +1492,23 @@ $ pdebuild --pbuilder cowbuilder Usage of ccache - By default pbuilder will use the C compiler cache - ccache to speed up repeated builds of the same - package (or packages that compile the same files multiple times for some - reason). Using ccache can speed up repeated building - of large packages dramatically, at the cost of some disk space and - bookkeeping. + It is possible to use C compiler cache + ccache to speed up repeated builds of the same + package (or packages that compile the same files multiple times for some + reason). Using ccache can speed up repeated building + of large packages dramatically, at the cost of some disk space and + bookkeeping. - To disable usage of ccache with - pbuilder, you should unset CCACHEDIR in your - pbuilderrc file. + To enable usage of ccache with + pbuilder, you should set CCACHEDIR in your + pbuilderrc file. + + + Current implementation of ccache support has several bugs, + that CCACHEDIR must be owned by the pbuilder build user, and + parallel runs of pbuilder is not supported. Therefore it is + not enabled by default. -- cgit v1.2.3