From patchwork Wed Jul 12 12:43:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 107489 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp865267obm; Wed, 12 Jul 2017 05:43:45 -0700 (PDT) X-Received: by 10.84.132.73 with SMTP id 67mr3882130ple.53.1499863425348; Wed, 12 Jul 2017 05:43:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499863425; cv=none; d=google.com; s=arc-20160816; b=CLMP/eslUcgQWEYwZC9ExvkhX29xlGLaggft1YvAMPDlXnMVzvmnLuJk/TlnvshjTF jYRKo0e6mjCbdnpvTAxxiVM8HapuwmCNPjzmnrWl/B9F3f4VehWvc49QWAiafPkMxPSw N2gY86sly4HcnHT54VVawpunBKwMmqiMKl0wl5r9U/+A98CQHYwZVsGzj/b34fUX22Y9 EucHTqufGbt0/GcsXXlKa6ayvRi36iy1BLQvY25nKhSJ1wruIRvVWcwwvXhgqDCsOBQv 01z6/RTzAA0P9FkmC57ymHUa9qILUL5A1X/gdlz/nAOLjgO42Twdh1fjDe+SIagi4NGs kkcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=sUKuEpwUCXsP0TPaRre9P/Zx6opJ4Dlu4NrDBGkNexM=; b=MYP3EcMXPjLNA6f2RVHlsJeqOdgEHgOMWoFpRHEGAHVb3JjcO5IzLeBw6I4E0R28Zf l1oUmEMgPZ0SPayd023uvgnWIxk+HvPcMbXJTboCqTeyOvgXCcZSGOzcAqVXTJICcJE6 qmmf6sxlmyNu/LFDSxBeE5S8hPBsPT7aqhAKAEJ/qLk8Fkm2rWU52CyJXbb1VRjMv3BQ iHcxVpSQeyol6aPQegSWDD1tTrcCiXi24aQjbL89/ZKvTa9lAxxNwpD5J/NRpfsFX6CZ g7uuK+snKgvjqYb22XDP3bqibGc3A3OUE0qGj2wi5JGnSYu7tVfaxfHrBBYlNRYMlGf8 jaZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.b=TsgaXZZC; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 31si1978893plk.534.2017.07.12.05.43.45; Wed, 12 Jul 2017 05:43:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.b=TsgaXZZC; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id D794A780A0; Wed, 12 Jul 2017 12:43:40 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr0-f179.google.com (mail-wr0-f179.google.com [209.85.128.179]) by mail.openembedded.org (Postfix) with ESMTP id 3D4F878093 for ; Wed, 12 Jul 2017 12:43:38 +0000 (UTC) Received: by mail-wr0-f179.google.com with SMTP id k67so32063957wrc.2 for ; Wed, 12 Jul 2017 05:43:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=9wnQ3S9qu+XSENdqdCYmOucnOC/LKhaG1AFTbaAfVnI=; b=TsgaXZZCGFGgXlhZs+dKx6oKMRlCg9kENnNycredULQKqTkBWhhr8HzzNs9ZqdXkZe wM7vH1V9tiyVIgMiebulaSGW7f8ywDg1hOyDof3UreTzF5JXFh3kyfNfl5iUSd9OZ6eg 6alz3c7N22D9YRzxh6KH74Iz/Wp5zPPIA8UxhbBfY11C9buWXrKUHQUUVjeXqByCEj/P WZhd5q86VcnQ4uq5T9rd8QgkPCIvL7lhHHV35xvdsqy4hIEhQXOEvuW390HQJiHzUvB1 qru4QOc0dlemRmYWm5qSQpjOUMAkoNJ7jgWFkAaghC8H2TRLqZ15aydSeVooW8Hya8+o o+nQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=9wnQ3S9qu+XSENdqdCYmOucnOC/LKhaG1AFTbaAfVnI=; b=TPcuQQ8w2fjIUKzXGT6jO+CpAU7LcsXDQiUfA8WamWQRCMBbleCg+PUyYfleCcoaH6 Vzf6fcFID374h+cLg7WnlhkyB4xrJSCmOuBd5LtRgcB/eRf3jNEkKB4z8uPGKjgbzW/y hEP1E8tOYn4cB0e3YJX3s/anJWprCbi53C+fnhgI4ajeUTrhZZ/mAiF0vKRv7SjijSCK vDyX1G56++wKj70m5w+BDTgF9Pyz8jqPs3+Zb4YqSCQvfATg5UaJMhNob+qNapsgmSo0 av/JEqdLigV3EHdlcJ6vaRABuXQ2B1BvXkiAfCy4VV6raQLTLUySRUWOD7JMkWyj+Ac4 4VTA== X-Gm-Message-State: AIVw112MjJslrYnhrLlm240FoRlr9si5W6KCmgSVCwJSnKNo/BvznkSK qlA0c/KaPStbcgfFbe8= X-Received: by 10.223.128.42 with SMTP id 39mr2978360wrk.175.1499863419126; Wed, 12 Jul 2017 05:43:39 -0700 (PDT) Received: from flashheart.burtonini.com (home.burtonini.com. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id r70sm2800052wmb.16.2017.07.12.05.43.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jul 2017 05:43:38 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Wed, 12 Jul 2017 13:43:27 +0100 Message-Id: <20170712124331.12444-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [OE-core] [PATCH 1/5] ccache: don't export CCACHE_DISABLE globally 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org CCACHE_DISABLE was added to bitbake.conf in oe-core dd2bab (June 2012) because autogen-native exports HOME=/dev/null during the build, which is then used by a host ccache to construct the path to it's cache (/dev/null/.ccache) and this fails. However we now always export CCACHE_DIR to solve the same problem in a more efficient way so CCACHE_DISABLE can be deleted. Signed-off-by: Ross Burton --- meta/classes/ccache.bbclass | 1 - meta/conf/bitbake.conf | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass index d58c8f6e57a..9f1b1f45e34 100644 --- a/meta/classes/ccache.bbclass +++ b/meta/classes/ccache.bbclass @@ -1,6 +1,5 @@ CCACHE = "${@bb.utils.which(d.getVar('PATH'), 'ccache') and 'ccache '}" export CCACHE_DIR ?= "${TMPDIR}/ccache/${MULTIMACH_TARGET_SYS}/${PN}" -CCACHE_DISABLE[unexport] = "1" # We need to stop ccache considering the current directory or the # debug-prefix-map target directory to be significant when calculating diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 962eb437c7b..042a03cbf90 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -480,9 +480,6 @@ HOSTTOOLS_NONFATAL += "aws ccache gcc-ar gpg ld.bfd ld.gold nc sftp socat sudo" HOSTTOOLS_NONFATAL += "join nl size yes zcat" CCACHE ??= "" -# Disable ccache explicitly if CCACHE is null since gcc may be a symlink -# of ccache some distributions (e.g., Fedora 17). -export CCACHE_DISABLE ??= "${@[0,1][d.getVar('CCACHE') == '']}" # ccache < 3.1.10 will create CCACHE_DIR on startup even if disabled, and # autogen sets HOME=/dev/null so in certain situations builds can fail. # Explicitly export CCACHE_DIR until we can assume ccache >3.1.10 on the host. @@ -845,7 +842,7 @@ BB_HASHBASE_WHITELIST ?= "TMPDIR FILE PATH PWD BB_TASKHASH BBPATH BBSERVER DL_DI SSTATE_DIR THISDIR FILESEXTRAPATHS FILE_DIRNAME HOME LOGNAME SHELL TERM \ USER FILESPATH STAGING_DIR_HOST STAGING_DIR_TARGET COREBASE PRSERV_HOST \ PRSERV_DUMPDIR PRSERV_DUMPFILE PRSERV_LOCKDOWN PARALLEL_MAKE \ - CCACHE_DIR EXTERNAL_TOOLCHAIN CCACHE CCACHE_DISABLE LICENSE_PATH SDKPKGSUFFIX \ + CCACHE_DIR EXTERNAL_TOOLCHAIN CCACHE LICENSE_PATH SDKPKGSUFFIX \ WARN_QA ERROR_QA WORKDIR STAMPCLEAN PKGDATA_DIR BUILD_ARCH SSTATE_PKGARCH \ BB_WORKERCONTEXT BB_LIMITEDDEPS extend_recipe_sysroot DEPLOY_DIR" BB_HASHCONFIG_WHITELIST ?= "${BB_HASHBASE_WHITELIST} DATE TIME SSH_AGENT_PID \ From patchwork Wed Jul 12 12:43:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 107490 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp865416obm; Wed, 12 Jul 2017 05:43:55 -0700 (PDT) X-Received: by 10.84.232.14 with SMTP id h14mr4099358plk.28.1499863435655; Wed, 12 Jul 2017 05:43:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499863435; cv=none; d=google.com; s=arc-20160816; b=uoRs+OS9tkK14XVoVa5Aj+5Vpr8mNV33abc/9FigRnzu/FBJpAVZ1lC9Hi4yeHSVJ4 L7l22bwaClm8BoH2LPgC5Hw5KVF0i7ma8diN5+h2+QdNLphpmXi/o0GEXG1md3+PWly5 Lx0tENS+IcBHzWqFtrthh10CXQiQQALEWaBYNlY/HUFEJy96FdV6XbzXNvD7yTs26zRE 6IRpFTjX2UAB/teEypJLMDSWZa7icj7EEUGiIL3a9GftkY3Hww1yc+FyLL2F98cnAXFx uZUqry+05yhVvSdSrVzdhwHjhONp9HAZ4mw6+f4+L5EGioWhiJNnXdY0wwzg8mXQXX8+ AQOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=Yxa/EWEA9Ol1Jxbc0fwE4rey1gCGOpfUm1G2Xpl9XAk=; b=tc7td2G+M0cDXOPIaUsC1TjrOGGHZXHwWPEM4hAXdyHq2BIyvqlCdppafKLodiIFue K8r7dwoHFr53C5QsePNKUoIvblMAPA662SY8AnwJjQxcZALFHffQgsJCB7y4eDfbxyX1 S3V4S0XCZb/q2+vyAPaOc9tuB0TsNnHOPmksTt59AHctFWhUZlKoZkdbGkJcoElHSBjB x2RLxTNnzKr7h23npUVVsr5aF0KAHd1xFFZNTdrftuR4dS9oiyPZWu5DxLOJWSnT2+kV +2L6F+avp4y76IBboCVVrxgFovra3kqrP1RhPHqqYJ1Z1+4KT0Bl6FgbIGgVMiFw3llN wEGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.b=D/cMrvQz; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id g7si1925353pln.67.2017.07.12.05.43.55; Wed, 12 Jul 2017 05:43:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.b=D/cMrvQz; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id C1BA0780A3; Wed, 12 Jul 2017 12:43:52 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr0-f173.google.com (mail-wr0-f173.google.com [209.85.128.173]) by mail.openembedded.org (Postfix) with ESMTP id A7DE378094 for ; Wed, 12 Jul 2017 12:43:39 +0000 (UTC) Received: by mail-wr0-f173.google.com with SMTP id k67so32064814wrc.2 for ; Wed, 12 Jul 2017 05:43:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=qtnDyvUbhEPF7pGsafevOxzcxVPBk1pK5CXVPu5pEjI=; b=D/cMrvQzUkjq8NdHJ/IMsyETK8aEnD5RRvYK8yicjHABPz4folaeYi8FYMit+hE8op B7w1sYUdytojmVrWfnMqnfgq0JVtKctZ1yisJvAmPg2M20jvm8rQKLkEK5PTpCbjiMi6 5BQ+J5+avV9exMv0/HLHM7Afxem8HALk7HifrHuHDGUzW6nLX//LfKLTdphYVjIcIojT kDqQC5OoGRfI1u3+9ueWp6HszSN8vGnqwYuEpdOOq2RcJ8TYDWO9dp6HXX+DuGe+GUnz WsenRxkncrDgzxiAOt9lRhwpX85I9jo+wxg1+sy0itloKGn25AcXvquj+EZVbLfjqWcr a03A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=qtnDyvUbhEPF7pGsafevOxzcxVPBk1pK5CXVPu5pEjI=; b=Ty0yn3DySvU/m2nyMAqT4XOolbKciUOAfD1OCv+sXP188VXTW9uEs1sSGsukfFDevu MgT3WsZJgfVbpM0hU0f3zEMPdWbaFVUw5wCMp8bT1xwJafy3aE9ApK4pfEfgw9qvuy4K I4sbo0TD7TJSrkvAWoaCIUR+AQwE/Zv0vEWdFwDNhWksG/KKRF4HcgT143tmhovOOQ2d hH7KYdnuGWfFQnVSbNLBoiQWTu4M3ECcUhraP9UmgchqEiK8T3ZgzLjhk/z61fNJHyQG PVqzBTVxjbHm5u5Ae0+WkhRpJuO+MzaO0Iglhiyt59XVEww/HqNUKgM4JGNtQoMYMhIV 0szQ== X-Gm-Message-State: AIVw1130qyy1FKiDcvLd6FfrlD6c2g1qmYc1hSiwRnWq/I2wZrdQdYG8 Ktp5KVbfFtNN/Qs8kfY= X-Received: by 10.28.87.205 with SMTP id l196mr2604845wmb.121.1499863420666; Wed, 12 Jul 2017 05:43:40 -0700 (PDT) Received: from flashheart.burtonini.com (home.burtonini.com. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id r70sm2800052wmb.16.2017.07.12.05.43.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jul 2017 05:43:39 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Wed, 12 Jul 2017 13:43:28 +0100 Message-Id: <20170712124331.12444-2-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170712124331.12444-1-ross.burton@intel.com> References: <20170712124331.12444-1-ross.burton@intel.com> Subject: [OE-core] [PATCH 2/5] bitbake.conf: add CCACHE_NOHASHDIR to hash whitelist 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Ross Burton --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 042a03cbf90..9a3aa8bbf29 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -842,7 +842,7 @@ BB_HASHBASE_WHITELIST ?= "TMPDIR FILE PATH PWD BB_TASKHASH BBPATH BBSERVER DL_DI SSTATE_DIR THISDIR FILESEXTRAPATHS FILE_DIRNAME HOME LOGNAME SHELL TERM \ USER FILESPATH STAGING_DIR_HOST STAGING_DIR_TARGET COREBASE PRSERV_HOST \ PRSERV_DUMPDIR PRSERV_DUMPFILE PRSERV_LOCKDOWN PARALLEL_MAKE \ - CCACHE_DIR EXTERNAL_TOOLCHAIN CCACHE LICENSE_PATH SDKPKGSUFFIX \ + CCACHE_DIR EXTERNAL_TOOLCHAIN CCACHE CCACHE_NOHASHDIR LICENSE_PATH SDKPKGSUFFIX \ WARN_QA ERROR_QA WORKDIR STAMPCLEAN PKGDATA_DIR BUILD_ARCH SSTATE_PKGARCH \ BB_WORKERCONTEXT BB_LIMITEDDEPS extend_recipe_sysroot DEPLOY_DIR" BB_HASHCONFIG_WHITELIST ?= "${BB_HASHBASE_WHITELIST} DATE TIME SSH_AGENT_PID \ From patchwork Wed Jul 12 12:43:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 107491 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp865503obm; Wed, 12 Jul 2017 05:44:00 -0700 (PDT) X-Received: by 10.84.217.198 with SMTP id d6mr3884677plj.45.1499863440206; Wed, 12 Jul 2017 05:44:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499863440; cv=none; d=google.com; s=arc-20160816; b=HMd5AythNnTkMBSQCuKgG3Z1cy3BiWe2oh6kdalPAHM1d7W5ymKzTutmDzHJPRmw0y xE7SI9w+K6IQAL1BM6BSDXs7VhNx7KU3zHqx0O2dUBR0SUkJCt3vOZfRPdG7xHtl0JI7 IEgD1Pc7nV1HMqTi4qczzCactSEWEhnne5qZnTfV2pVsLSoUv4eFE2o1Y/YtlMcZSuLU ++QtIXZJ5i28GABBHiJHm8bKywmje0Dsg1gdEgz8hm1Yp9EWEhOCRblFrKWlVjrALTeb Ao8sJ9mWxVbI20VCpRt6cwlgxNakKrOEBrIbgnT8Z3FiGvx0ndanOeBu8xKhESkUpaAa B4pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=+NusO6Vdp9ccxozPcEdtyvtuyuSkRJk61SCSNxL04YA=; b=pqxJiMDHFeY37UNEYg+b+fTOfIE/BXlZrjFlg6fF2MxayS+ktpnLXrukVNrPn7Urx9 1FPZv99XyR5AU4HLpmIh9O5oTBWIOC+ZmdQL8yHeau5wZ+mzRvLg85Fo2vPXeI0t9pI+ wXu1Q2NuvGZjPaMDvu+3IGydAsTFT3/KU8scugk476AKzW8f6PZifMM8/DY+3m4zXkaz GejYGPgx5LQk1UsZ1TsJCmkFgcFirnvweN9H76+lxJgSju/C2d2UL7Vu82GN63c8E3QK OIkm3QOyvZOqztVCjiPfUStBcTgjmnh3rEyi85FF805HqWc6Gbz7QnVpNeybCmEDVBy8 2xfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.b=BhMjLnLE; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id o3si2054060pld.309.2017.07.12.05.43.59; Wed, 12 Jul 2017 05:44:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.b=BhMjLnLE; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 160EB780CD; Wed, 12 Jul 2017 12:43:54 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr0-f176.google.com (mail-wr0-f176.google.com [209.85.128.176]) by mail.openembedded.org (Postfix) with ESMTP id 2342A78094 for ; Wed, 12 Jul 2017 12:43:41 +0000 (UTC) Received: by mail-wr0-f176.google.com with SMTP id c11so32099425wrc.3 for ; Wed, 12 Jul 2017 05:43:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=QIvgjjGXJ95J3qpwc640ajU7eHGfuauru7dV+gfkerU=; b=BhMjLnLEvwVgcMiBxz77CO3qg0unDX6UlxWJh2GF13Y5+UzFOved2ZwkSAwb3FlQvf RwWnr6eXa8YIPYxFzcWFuYjFzp5YC5WK2x/a7ki1REh+3/JIx3R344AmN9APnLFZTMxE oFvF62FSj7RuvFREBtq+vpbDWz7Q5lmwhgmNNuBMkTyvhuVJ/U8HrVOnTCvjfRa75oHS WrdU4E2E0q+mUW4X1AsqmR5XEODqseE73KsMFwIFxYgcgSQKLkHsSNWu8mZb6pJg+CPU 8OZIs7fhwY6/lNw80o4Ct3yq0QeG9NMK2iQxFcb869JHvbIftPXkU2SXtmTXq8sWCWa0 jlMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=QIvgjjGXJ95J3qpwc640ajU7eHGfuauru7dV+gfkerU=; b=cP1Hzrm/MOYCh96v6JSIJ94XL0oK/UI9FFtSF0n3v3EHsyV6afowbEdf/PEx76CVdo 2FQT4S1CswcpiyhmXLHKnk0dRvJppAXCZQO4dy28IdBHAakkvHMBJ8tuQ4jKb80uwJ+C mrCfsrn81QaPrrDdTu794GCKuIA62O+x8rGPJgPehhNUlDueyCdppNqdWZ3WeXVMt7yt nxjFSvd+7ZOb5pYPNt/Kg87Y4LkJ/XaC3VNnbMN81AIIw7ZTKDVr5Ow/DpEU+Zk/m0lG thiv9GxA6MkWCSYg0bgdjoQj8KFILaHjQGn4Yqj11zqUuP/TIx9jSjEDs1G8h+ViJHUr Je3g== X-Gm-Message-State: AIVw111fGAvzGdt05SV+5B5S6B6noB/d1ok9kCOiy8ejyLO4DQo9amEA h+lp/G3KUwJ3zbzwXUw= X-Received: by 10.28.157.205 with SMTP id g196mr2616339wme.84.1499863422303; Wed, 12 Jul 2017 05:43:42 -0700 (PDT) Received: from flashheart.burtonini.com (home.burtonini.com. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id r70sm2800052wmb.16.2017.07.12.05.43.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jul 2017 05:43:41 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Wed, 12 Jul 2017 13:43:29 +0100 Message-Id: <20170712124331.12444-3-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170712124331.12444-1-ross.burton@intel.com> References: <20170712124331.12444-1-ross.burton@intel.com> Subject: [OE-core] [PATCH 3/5] ccache: let ccache create CCACHE_DIR, reducing hash changes 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Ross Burton --- meta/classes/ccache.bbclass | 3 --- 1 file changed, 3 deletions(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass index 9f1b1f45e34..960902065c4 100644 --- a/meta/classes/ccache.bbclass +++ b/meta/classes/ccache.bbclass @@ -9,6 +9,3 @@ export CCACHE_NOHASHDIR ?= "1" DEPENDS_append_class-target = " ccache-native" DEPENDS[vardepvalueexclude] = " ccache-native" - -do_configure[dirs] =+ "${CCACHE_DIR}" -do_kernel_configme[dirs] =+ "${CCACHE_DIR}" From patchwork Wed Jul 12 12:43:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 107492 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp865606obm; Wed, 12 Jul 2017 05:44:05 -0700 (PDT) X-Received: by 10.99.5.130 with SMTP id 124mr3640296pgf.51.1499863445362; Wed, 12 Jul 2017 05:44:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499863445; cv=none; d=google.com; s=arc-20160816; b=KQn28bqQMWmxwJmpsHyGDVJJ9V5oVmLIOJDGz2T5wfRnwJTqI7pWeMVfsBdqeg8VnB NRyU9caFnaz5zOsrk/S4eTwTzcxzjz/LlP1xGjbFot1Nre494wAxOOntYMv8sbcSglQx 2lR0hYWRuWjw1Upxv066bOLENOTrqftxqeGZ43bbOTESEbH96LKxRPvFo5MslrpjHJAs QNQ2jv/Vj5TPQ6+xAaPgR9o+68CJwApWLPDCzwy9/D+FyY7zzFLbzQp0gvSi3kkY4a4w JO2iqEMdI7Lcflo3c4qgKvZbtDXxK+3hPkBTK1mTcGJSkkVPW0jtEpVKmIY1aBBWnOkg 9VVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=UZzf+ScNgxVmwOdsJayytyE25BpvpkKSun0H8h+DQ8Q=; b=gIUWpDl4KztNGHxRUVnmrBHV/kAy4LJqzVE4KDj081kUloJZVIFLkKQ5T/iAyghSvM xOz/j8CsFI/fSlAkBIfKFy8/gVPJ2Ojf+spAEQWAQ1OMi0qm6CmM38vvIo9fi38PPEUL eK8orELMPEkjWPEIO7MaD47fsvZZ4aVQw1cf1nXUn+RZZaQStSMGHcAhSQewtMBHqlK9 o7so5eEuN3HpGoXQjAaZ3quT/w2aCp9/YWc/Pjt+txgMDOsLdxwL/Hiejni2mcUrfabo awvJhHRZqeFb348J1Tyn63exbneuHMgzeOAPQtSWOetBJ0MHhQSDgaCG8hbBeoiQ87/J g0oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.b=rCYtOgQ3; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id i10si1923660pgt.240.2017.07.12.05.44.05; Wed, 12 Jul 2017 05:44:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.b=rCYtOgQ3; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 1BE91780FA; Wed, 12 Jul 2017 12:43:55 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr0-f181.google.com (mail-wr0-f181.google.com [209.85.128.181]) by mail.openembedded.org (Postfix) with ESMTP id C7FD9780B5 for ; Wed, 12 Jul 2017 12:43:43 +0000 (UTC) Received: by mail-wr0-f181.google.com with SMTP id 77so32306196wrb.1 for ; Wed, 12 Jul 2017 05:43:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=uULdV+BuuSk4l2X7mKwXS82kublqKpUXbBiMjhmOyrc=; b=rCYtOgQ38rTyTEb0DLOg0JQTiBOPft5RgUrqrhdVAUPKC3tsASY6SmAz1kBrmwl8lq Tto+JYTx60KHypz+8l9jd6hJkJ89j/1Qq88VR+ai8MEPeqNO4eP/+9ykw5PpoWI3ExYf tWGxef/ME/Pi0S37W1CfkSuPKz6M9VIAFlfyhxPxdhuJkNSdH2+RMgz6kQ6YLlhKCF33 ClakHQmsfOMXqOBw7Rj5ahkOstVwzOoKafNfkcSL9mjp1P0xvpOA+Yg4Z+jiPUSyCRSX uDZ2lcD+0SzrxYjM6SAWV/nBhCTSu6pkfCm0C5dgqD1oXG0Bw7sKfHonFlPLlafFCPfO m/4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=uULdV+BuuSk4l2X7mKwXS82kublqKpUXbBiMjhmOyrc=; b=mHzNQI2z/XHKilpRvMBDztW93wQCO6xik9lCwB+y/pXYC6ofH46TQV1wz5fMilp04z 1fClGKvaT180zs2Ur6+f7HzdGhsi6Lk+/dTriSGjYm3p21+U/1+uRiUll228VJ03KAsX QY8SQVu4yoMJDniSJHSE8/AUI94bi7aEFE82pk7S6clrCFwcASYE/9976Tf0lRfjLcys Uj7DdVahj5sTsRpo6BXR8nIKeCkHrmaXkYpanZVuYMeskieQKKYtATN1nvdaaTsNLEri bVnL6izxBlLgfI10zwfvEQgSC5cbCC8d5+8V4JLgznHczU3k7NsXhk3iHegwEXteRpWd i6jg== X-Gm-Message-State: AIVw110zBm1LazkbWSSadRZy20/tfPbN5HeVQwE++gshJkYAjwkE4WaZ l4mcYrSC6ZnLbK98LOE= X-Received: by 10.223.164.29 with SMTP id d29mr2675456wra.183.1499863423861; Wed, 12 Jul 2017 05:43:43 -0700 (PDT) Received: from flashheart.burtonini.com (home.burtonini.com. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id r70sm2800052wmb.16.2017.07.12.05.43.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jul 2017 05:43:43 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Wed, 12 Jul 2017 13:43:30 +0100 Message-Id: <20170712124331.12444-4-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170712124331.12444-1-ross.burton@intel.com> References: <20170712124331.12444-1-ross.burton@intel.com> Subject: [OE-core] [PATCH 4/5] ccache: don't search PATH for ccache 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Instead of searching $PATH for ccache in all builds, simply set CCACHE in target builds to 'ccache ' directly. We build-depend on ccache-native for target builds so this will always be present. Signed-off-by: Ross Burton --- meta/classes/ccache.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass index 960902065c4..8e4b5ab8410 100644 --- a/meta/classes/ccache.bbclass +++ b/meta/classes/ccache.bbclass @@ -1,4 +1,5 @@ -CCACHE = "${@bb.utils.which(d.getVar('PATH'), 'ccache') and 'ccache '}" +CCACHE_class-target = "ccache " + export CCACHE_DIR ?= "${TMPDIR}/ccache/${MULTIMACH_TARGET_SYS}/${PN}" # We need to stop ccache considering the current directory or the From patchwork Wed Jul 12 12:43:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 107493 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp865700obm; Wed, 12 Jul 2017 05:44:10 -0700 (PDT) X-Received: by 10.84.218.197 with SMTP id g5mr3850274plm.67.1499863450218; Wed, 12 Jul 2017 05:44:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499863450; cv=none; d=google.com; s=arc-20160816; b=CkWIfwBIZC3JYwoQxfjmuN9RfA2cQpbW8GuaYlNHG/EMYLp4tBA4Ycgq8/osupfL2Q +8EJXYxbxm34lD0j+Y9/nPrpZ67rWqhM0xADmlg0BQkL8jPqIiGGvmWlRJCJ8CL64d00 kgsalIKoztGeAupVO6XaKcA+jcVOKCnX06VwGBQOUL7lTKUUcxg1YvcAL5SIYNzko/c6 ul+qq7/8w06cIPLGCZswxZlMMgz6V+n5qKvqtPeU6uidRoI2+vgeUCtpsjGGvn2p6ddK 0HmHRMI7e/WNVtpvDYrT2mfNm0iSeGmO94Hdf5CRX0vV7uKMjeEtUjqdm8L9dS4chtWJ SJCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=3HQ+miquBMEd3+XKNVImIBsdD936BLROhiVK+moKMjY=; b=CS6bI3oisXw2aVl/Ifc/xNqd9Pon1Ob7Zr0ap/mFpoc1ibM7YlRplvn1mnmDNQfNx8 lGdz3O3wUBTUfZoSQPOh55DoQSpu6+UlKvXOW+ioPGPbsDpOXP5QGSAQH0C4HzOlFpvA tSKmGkdRkUG2IIBthXpg2EJRTG63HpIiuYahWqLYvWdfwTN2aL5Fmibo9FepUcLH7wem EvYc6/nhW4S6m+g3cClqtYd4VWApAHu9qwB0MxiTFrUMW8LCaEOlydZ8U/g4sQm8Dq/e K4ZLr6hWZCFWGfOp/lBzQfPbVCtCVM/SjJE1CXvJ/T2NfImmbpIHLu9AQoA6+57y8+Fi 0iIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.b=cbkhet9B; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id i8si2076407pll.390.2017.07.12.05.44.09; Wed, 12 Jul 2017 05:44:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.b=cbkhet9B; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 15F0E78170; Wed, 12 Jul 2017 12:43:56 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr0-f170.google.com (mail-wr0-f170.google.com [209.85.128.170]) by mail.openembedded.org (Postfix) with ESMTP id 7057878096 for ; Wed, 12 Jul 2017 12:43:44 +0000 (UTC) Received: by mail-wr0-f170.google.com with SMTP id c11so32101440wrc.3 for ; Wed, 12 Jul 2017 05:43:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=bB5ELG07FjaE2Dzzy+13s6zTd8eMwbaNnbj/nLoH12w=; b=cbkhet9BJV0/iQT03WRjWyaynNF2gE0J5UiAJ8GyFNC3yuvpDtiZou6mAoTPKQOWSc Ut5vd+L0KYTHJ41UIYHv2OHEtCWvFc56/GznFp0NLeXv1I7zMKqAcrtuxko2ThXvJO05 AWLXHzN3ee0jQucUshu9gE6ASl7COZ87+pkbiuBdPuyjfUZiXYghrhHyECvHSHQr7QN0 eAHGXAAZa87yjlga9ItepPbavz5/whhePP5ZyJBpXRA6XYlpDOVBGbQkeEik8yOiX6bX QEyJv2xP8U/rhY50ZW58NR84915TrWQJZ+W3W2eZ9H7TKMVlYPjXZ8xdswiOBbVnR4hs 1+Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=bB5ELG07FjaE2Dzzy+13s6zTd8eMwbaNnbj/nLoH12w=; b=TU+P5Rvxbo9m/Ys949Lpjrbe50Cc7+cRr+T+/67wvtEDIy+r+lH+KCu36UVhWViZjc 4+hDrpOKA4zfUfBNecYbOm9NAWfPTPSQxjuXiww7kqeYnS+ThqOS0PVak9/4aCg8mbOG Mbo3MATzG28NLrpfSWDaianlJxiANf5ldS6wWySrSTsxuhP565W3QSr46omOdCHV7dZ+ 8OFzIjJ39Ev17bpcxGAmOHsWu7IY/Qs3RYi4mBA2wNlBHKPUIVG9Rs56HLbppGJLmFIU oXMU9DUHIabJ7fM8yfyaRl7TejF5acyilvlnHzm35qhI9gvMjnq5oDoekkEDDQEPy2sh RQyA== X-Gm-Message-State: AIVw111yJz0cGc6VKeHjAb0/PnNMTylmuB1U9R5cySs9wH3DNGZ2CJv7 h6zB2sDnrb7pZ7JZDmo= X-Received: by 10.223.172.15 with SMTP id v15mr3014132wrc.84.1499863425662; Wed, 12 Jul 2017 05:43:45 -0700 (PDT) Received: from flashheart.burtonini.com (home.burtonini.com. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id r70sm2800052wmb.16.2017.07.12.05.43.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jul 2017 05:43:45 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Wed, 12 Jul 2017 13:43:31 +0100 Message-Id: <20170712124331.12444-5-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170712124331.12444-1-ross.burton@intel.com> References: <20170712124331.12444-1-ross.burton@intel.com> Subject: [OE-core] [PATCH 5/5] lib/oe/sstatesig: exclude ccache-native from signature hashes 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Enabling ccache should not cause a complete rebuild, so filter out ccache-native from the dependencies the same way we do for quilt-native (so the world doesn't repatch if quilt changes). This doesn't effect the actual dependencies, just the dependencies that impact the hash. [ YOCTO #11417 ] Signed-off-by: Ross Burton --- meta/lib/oe/sstatesig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index b8dd4c869ed..5a4093266d4 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py @@ -29,7 +29,7 @@ def sstate_rundepfilter(siggen, fn, recipename, task, dep, depname, dataCache): return True # Quilt (patch application) changing isn't likely to affect anything - excludelist = ['quilt-native', 'subversion-native', 'git-native'] + excludelist = ['quilt-native', 'subversion-native', 'git-native', 'ccache-native'] if depname in excludelist and recipename != depname: return False