All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Richard Purdie" <richard.purdie@linuxfoundation.org>
To: Robert Yang <liezhi.yang@windriver.com>,
	 openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH 2/3] buildtools-tarball: Add nativesdk-ccache
Date: Thu, 07 Jan 2021 10:40:19 +0000	[thread overview]
Message-ID: <3966f6f4c6c748f36c73bfccaaa36fdea6b34e63.camel@linuxfoundation.org> (raw)
In-Reply-To: <c37107e5-a877-8b85-46b8-c984466c31a6@windriver.com>

On Thu, 2021-01-07 at 10:44 +0800, Robert Yang wrote:
> Hi RP,
> 
> On 1/6/21 9:56 PM, Richard Purdie wrote:
> > On Wed, 2021-01-06 at 04:09 -0800, Robert Yang wrote:
> > > Add it to buildtools-tarball so that there will be a unify version of ccache,
> > > which can help avoid various compile errors.
> > > 
> > > Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> > > ---
> > >   meta/recipes-core/meta/buildtools-tarball.bb | 1 +
> > >   1 file changed, 1 insertion(+)
> > > 
> > > diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb
> > > index 9da81d55235..2ffdd7c7253 100644
> > > --- a/meta/recipes-core/meta/buildtools-tarball.bb
> > > +++ b/meta/recipes-core/meta/buildtools-tarball.bb
> > > @@ -29,6 +29,7 @@ TOOLCHAIN_HOST_TASK ?= "\
> > >       nativesdk-rpcsvc-proto \
> > >       nativesdk-patch \
> > >       nativesdk-mtools \
> > > +    nativesdk-ccache \
> > >       "
> > 
> > My view is we should not start to ship ccache with buildtools by
> > default. Its something that the user can install if they want/need it
> 
> 
> The problem is that user installed ccache may not work with our recipes, for
> example, we found the following recipes failed to build with ccache on different
> hosts:
> 
> cdrtools-native
> fribidi
> rocksdb
> 
> 
> So have a fixed version of ccache can make sure the recipes work well, it also 
> helps us to reproduce the errors easily when user reported a bug.

I really do not want ccache in buildtools. If this is such a problem,
we need to work out how to resolve the circular dependency issues so
ccache-native can work again.

Cheers,

Richard




  reply	other threads:[~2021-01-07 10:40 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-06 12:09 [PATCH 0/3] ccache: Fixes for 4.1 Robert Yang
2021-01-06 12:09 ` [PATCH 1/3] ccache: Extend to nativesdk Robert Yang
2021-01-06 12:09 ` [PATCH 2/3] buildtools-tarball: Add nativesdk-ccache Robert Yang
2021-01-06 13:56   ` [OE-core] " Richard Purdie
2021-01-07  2:44     ` Robert Yang
2021-01-07 10:40       ` Richard Purdie [this message]
2021-01-07 10:59         ` Robert Yang
2021-01-07 16:12           ` Joshua Watt
2021-01-08  7:47             ` Mikko Rapeli
2021-01-08  8:23               ` Richard Purdie
2021-01-08 10:48             ` Robert Yang
2021-01-07 17:10           ` Richard Purdie
2021-01-08 10:48             ` Robert Yang
2021-01-06 12:09 ` [PATCH 3/3] ccache.bbclass: Set CCACHE_TEMPDIR Robert Yang

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=3966f6f4c6c748f36c73bfccaaa36fdea6b34e63.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=liezhi.yang@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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.