From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by mail.openembedded.org (Postfix) with ESMTP id DD7A77BFF1 for ; Tue, 18 Dec 2018 07:00:51 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id wBI70CCh014017 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 17 Dec 2018 23:00:43 -0800 Received: from pek-lpg-core1.wrs.com (128.224.156.132) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.408.0; Mon, 17 Dec 2018 23:00:26 -0800 From: Robert Yang To: Date: Tue, 18 Dec 2018 15:18:00 +0800 Message-ID: X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Subject: [PATCH V3 00/11] ccache.bbclass: Refactor it to make it more reliable X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2018 07:00:52 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit * 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