From 472a99447fe0f89bbdb959c1d9b7f67f8a122935 Mon Sep 17 00:00:00 2001 From: Michael Opdenacker Date: Fri, 28 Jan 2022 16:49:41 +0100 Subject: ref-manual: add usage details about ccache.bbclass (From yocto-docs rev: c06e5710b139c01347b9cd2113dde0961f483995) Signed-off-by: Michael Opdenacker Signed-off-by: Richard Purdie --- documentation/ref-manual/classes.rst | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'documentation') diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index d9065b3619..949217bf42 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -274,10 +274,15 @@ sstate re-use. In order to function, this class requires the The ``ccache`` class enables the C/C++ Compiler Cache for the build. This class is used to give a minor performance boost during the build. -However, using the class can lead to unexpected side-effects. Thus, it -is recommended that you do not use this class. See -https://ccache.samba.org/ for information on the C/C++ Compiler -Cache. + +See https://ccache.samba.org/ for information on the C/C++ Compiler +Cache, and the :oe_git:`ccache.bbclass ` +file for details about how to enable this mechanism in your configuration +file, how to disable it for specific recipes, and how to share ``ccache`` +files between builds. + +However, using the class can lead to unexpected side-effects. Thus, using +this class is not recommended. .. _ref-classes-chrpath: -- cgit v1.2.3-54-g00ecf