diff options
| author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2022-01-28 16:49:41 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-03 13:47:50 +0000 |
| commit | 472a99447fe0f89bbdb959c1d9b7f67f8a122935 (patch) | |
| tree | d4d6eb6536b73805fe7b5d9d1f525359382e790c | |
| parent | 0c8ad5dc5ea54efa9de2e690a3965c769707c2c4 (diff) | |
| download | poky-472a99447fe0f89bbdb959c1d9b7f67f8a122935.tar.gz | |
ref-manual: add usage details about ccache.bbclass
(From yocto-docs rev: c06e5710b139c01347b9cd2113dde0961f483995)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | documentation/ref-manual/classes.rst | 13 |
1 files changed, 9 insertions, 4 deletions
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 | |||
| 274 | 274 | ||
| 275 | The ``ccache`` class enables the C/C++ Compiler Cache for the build. | 275 | The ``ccache`` class enables the C/C++ Compiler Cache for the build. |
| 276 | This class is used to give a minor performance boost during the build. | 276 | This class is used to give a minor performance boost during the build. |
| 277 | However, using the class can lead to unexpected side-effects. Thus, it | 277 | |
| 278 | is recommended that you do not use this class. See | 278 | See https://ccache.samba.org/ for information on the C/C++ Compiler |
| 279 | https://ccache.samba.org/ for information on the C/C++ Compiler | 279 | Cache, and the :oe_git:`ccache.bbclass </openembedded-core/tree/meta/classes/ccache.bbclass>` |
| 280 | Cache. | 280 | file for details about how to enable this mechanism in your configuration |
| 281 | file, how to disable it for specific recipes, and how to share ``ccache`` | ||
| 282 | files between builds. | ||
| 283 | |||
| 284 | However, using the class can lead to unexpected side-effects. Thus, using | ||
| 285 | this class is not recommended. | ||
| 281 | 286 | ||
| 282 | .. _ref-classes-chrpath: | 287 | .. _ref-classes-chrpath: |
| 283 | 288 | ||
