From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
To: "michael.opdenacker@bootlin.com" <michael.opdenacker@bootlin.com>,
"docs@lists.yoctoproject.org" <docs@lists.yoctoproject.org>
Subject: RE: [docs] [PATCH] ref-manual: add usage details about ccache.bbclass
Date: Fri, 28 Jan 2022 19:25:53 +0000 [thread overview]
Message-ID: <2d54f0a86eed433f95fb22b03ea8117c@axis.com> (raw)
In-Reply-To: <b2479910-b50c-2f06-0290-72cb953f0963@bootlin.com>
> -----Original Message-----
> From: docs@lists.yoctoproject.org <docs@lists.yoctoproject.org> On Behalf Of Michael Opdenacker via lists.yoctoproject.org
> Sent: den 28 januari 2022 16:56
> To: docs@lists.yoctoproject.org
> Subject: Re: [docs] [PATCH] ref-manual: add usage details about ccache.bbclass
>
> On 1/28/22 16:53, Michael Opdenacker via lists.yoctoproject.org wrote:
> > Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
> > ---
> > documentation/ref-manual/classes.rst | 13 +++++++++----
> > 1 file 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
> >
> > 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 </openembedded-core/tree/meta/classes/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.
It would probably be a good idea then to explain what those
unexpected side-effects are, or you leave the reader hanging.
That way it easier to make an educated choice whether using
the class is a good idea or not.
> I guess it could be controversial to add usage details for a class that
> the manual recommends not to use. On the other hand, if we keep this
> class in oe-core, that must be because there are some people who still
> want to use it. Then, it makes sense to have usage details IMHO.
>
> Any thoughts about this?
>
> Cheers
> Michael.
//Peter
next prev parent reply other threads:[~2022-01-28 19:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <16CE7A27ABB38F4D.29885@lists.yoctoproject.org>
2022-01-28 15:56 ` [docs] [PATCH] ref-manual: add usage details about ccache.bbclass Michael Opdenacker
2022-01-28 19:25 ` Peter Kjellerstedt [this message]
2022-02-01 16:48 ` Michael Opdenacker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2d54f0a86eed433f95fb22b03ea8117c@axis.com \
--to=peter.kjellerstedt@axis.com \
--cc=docs@lists.yoctoproject.org \
--cc=michael.opdenacker@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.