[OE-core] [PATCH V3 00/11] ccache.bbclass: Refactor it to make it more reliable
Robert Yang
liezhi.yang at windriver.com
Tue Dec 18 07:18:00 UTC 2018
* 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
--
2.7.4
More information about the Openembedded-core
mailing list