Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Robert Yang <liezhi.yang@windriver.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH V3 00/11] ccache.bbclass: Refactor it to make it more reliable
Date: Thu, 10 Jan 2019 15:45:19 +0800	[thread overview]
Message-ID: <5ef868ec-9a44-6954-63c3-b45fcba9cc50@windriver.com> (raw)
In-Reply-To: <cover.1545102457.git.liezhi.yang@windriver.com>

Hi RP,

Do you have any comments on this, please? It's really very useful during
development. It can save both configure and compile time in the second run,
It can save about 8 minutes (30m -> 22m) if I rebuild core-image-minimal
totally without any sstate caches.

// Robert

On 12/18/18 3:18 PM, Robert Yang wrote:
> * V3
>    - Make cache files can be shared between different build dirs
>    - Add task do_cleanccache
>    - Make cmake work with ccache
>    - Upgrade ccache to 3.5, this version has a debug mode, which is useful for
>      figuring out why a cache file is not used.
> 
> * V2
>    - Fix comments from Martin Jansa and Martin Hundebøll.
>    - Fix RP's comments:
>      1) Add comments for ccache related code in base.bbclass
>      2) Remove all ccache-native's dependencies so that all recipes can depend on
>         and use it.
>    - Update test_ccache_tool in oeqa
> 
> * V1
>    Initial version
> 
> The following changes since commit 20aea61385e1a53ac245353899277ba20104ed2f:
> 
>    gcc: Drop 7.3 since 8.2 is working fine for us (2018-12-15 17:10:44 +0000)
> 
> are available in the git repository at:
> 
>    git://git.openembedded.org/openembedded-core-contrib rbt/ccache
>    http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/ccache
> 
> Robert Yang (11):
>    ccache-native: Remove dependencies
>    ccache: 3.4.2 -> 3.5
>    ccache.bbclass: Refactor it to make it more reliable
>    ccache.bbclass: Make it can be shared between different builds
>    ccache.bbclass: Add task do_cleanccache
>    ccache.bbclass: Set CCACHE_CONFIGPATH to fix race issues
>    bitbake.conf: Enable -fdebug-prefix-map for nativesdk
>    goarch.bbclass: Set CCACHE_DISABLE
>    cmake.bbclass: Make it work with ccache
>    apr/openssl10: Enable ccache for them
>    oeqa/selftest/cases: Update test_ccache_tool
> 
>   meta/classes/ccache.bbclass                        | 63 ++++++++++++++++++++--
>   meta/classes/cmake.bbclass                         | 21 +++++---
>   meta/classes/goarch.bbclass                        |  4 ++
>   meta/conf/bitbake.conf                             |  8 +--
>   meta/conf/ccache.conf                              |  2 +
>   meta/conf/layer.conf                               |  1 -
>   meta/lib/oe/utils.py                               |  3 ++
>   meta/lib/oeqa/selftest/cases/buildoptions.py       | 10 ++--
>   .../openssl/openssl10_1.0.2q.bb                    |  3 --
>   meta/recipes-devtools/ccache/ccache.inc            | 13 ++++-
>   meta/recipes-devtools/ccache/ccache_3.4.2.bb       | 11 ----
>   meta/recipes-devtools/ccache/ccache_3.5.bb         | 11 ++++
>   meta/recipes-graphics/piglit/piglit_git.bb         |  3 ++
>   meta/recipes-graphics/vulkan/vulkan_1.1.73.0.bb    |  3 ++
>   meta/recipes-sato/webkit/webkitgtk_2.22.4.bb       |  3 ++
>   meta/recipes-support/apr/apr_1.6.5.bb              |  5 --
>   16 files changed, 122 insertions(+), 42 deletions(-)
>   create mode 100644 meta/conf/ccache.conf
>   delete mode 100644 meta/recipes-devtools/ccache/ccache_3.4.2.bb
>   create mode 100644 meta/recipes-devtools/ccache/ccache_3.5.bb
> 


      parent reply	other threads:[~2019-01-10  7:41 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-18  7:18 [PATCH V3 00/11] ccache.bbclass: Refactor it to make it more reliable Robert Yang
2018-12-18  7:18 ` [PATCH V3 01/11] ccache-native: Remove dependencies Robert Yang
2018-12-18  7:18 ` [PATCH V3 02/11] ccache: 3.4.2 -> 3.5 Robert Yang
2018-12-18  7:18 ` [PATCH V3 03/11] ccache.bbclass: Refactor it to make it more reliable Robert Yang
2019-01-11 20:49   ` Randy MacLeod
2019-01-15  2:11     ` Robert Yang
2019-01-15 22:40       ` Richard Purdie
2019-01-16  1:39         ` Robert Yang
2018-12-18  7:18 ` [PATCH V3 04/11] ccache.bbclass: Make it can be shared between different builds Robert Yang
2018-12-18  7:18 ` [PATCH V3 05/11] ccache.bbclass: Add task do_cleanccache Robert Yang
2018-12-18  7:18 ` [PATCH V3 06/11] ccache.bbclass: Set CCACHE_CONFIGPATH to fix race issues Robert Yang
2018-12-18  7:18 ` [PATCH V3 07/11] bitbake.conf: Enable -fdebug-prefix-map for nativesdk Robert Yang
2018-12-18  7:18 ` [PATCH V3 08/11] goarch.bbclass: Set CCACHE_DISABLE Robert Yang
2018-12-18  7:18 ` [PATCH V3 09/11] cmake.bbclass: Make it work with ccache Robert Yang
2018-12-18  7:18 ` [PATCH V3 10/11] apr/openssl10: Enable ccache for them Robert Yang
2018-12-18  7:18 ` [PATCH V3 11/11] oeqa/selftest/cases: Update test_ccache_tool Robert Yang
2018-12-18  7:34 ` ✗ patchtest: failure for ccache.bbclass: Refactor it to make it more reliable (rev3) Patchwork
2018-12-18  7:52   ` Robert Yang
2019-01-10  7:45 ` Robert Yang [this message]

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=5ef868ec-9a44-6954-63c3-b45fcba9cc50@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox