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

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.

// Robert

> but its not essential, required or helps much in standard builds (which
> would reuse from sstate if built previously).
> 
> Cheers,
> 
> Richard
> 

  reply	other threads:[~2021-01-07  2:45 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 [this message]
2021-01-07 10:40       ` Richard Purdie
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=c37107e5-a877-8b85-46b8-c984466c31a6@windriver.com \
    --to=liezhi.yang@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.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.