From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7024486976540639232 X-Received: by 2002:a05:6000:4c:: with SMTP id k12mr15066102wrx.354.1635515824677; Fri, 29 Oct 2021 06:57:04 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:ed0e:: with SMTP id l14ls398390wmh.0.gmail; Fri, 29 Oct 2021 06:57:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmJOlz+KdTDM3vJTm/oQWzqWPRCScJjNjlbesEaL3R1AL0MgWwi2CmJXv0N+X4mgzCLs3n X-Received: by 2002:a7b:cb52:: with SMTP id v18mr20105119wmj.10.1635515823593; Fri, 29 Oct 2021 06:57:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635515823; cv=none; d=google.com; s=arc-20160816; b=grudM+XPZgnhK+VrdPs56DR0ocSTlGqZWs0BjRkpxDhU9F0Et5Mp/V8TmpeE7OT0GJ lXP2e2hQoCISdww+GYd1uBvMXA/Qh1Pyhg2RyTY455t68hKs3X2FUKdLkO1+73OuMurh UcLUfH9836vyZryrfUhO74+68ic3OqWSiRuqNIcIbRMXudLNFjK4+aOjXWOnrXH8d1rB Ybk5AxIuvfsSg0IfnsUNI/7Or/92RYP4Cj8D04MAUMeAwPJtJySVUomcjxyvLmJHOIc/ G9e4+HpCshQ92jFa7MIYyyN99v556xpAnj7HXt52VuYnKEj1nLfyUsHPFRC8vuN+uyGO vCgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from; bh=FaEc47L7v5dRTYe9qCmYM7XGy7XWPSclmPxP2cpTvZQ=; b=gfd7CePAG8mF/ti6EtQRiRxNBua3WR892XPZjuU2w3Mx1u6qgKXo7+VRqJfQ0tqAMD v6IuoNyojXnkAzkCKzrgqoX8BPZXk8BdRdlCGImcI8DqQtN9yJwoP5KQb5h5s3qxg5hJ RTD1pCzIMYZ2xkdNVGmp0Exc1Kuca3W8tqM9LS1xoobfnaPOSzpN5Qt/HrWJX+kiOnf4 uc6oFBnm9aYFHuVwsX/1hyiHm7STMWGgKq9ay6dFtL3c8FlQpSRI9qzwn8CFGP9LPTa8 5OWgxc6+p6eoKYukjvBG4xQXGH+ThvmfCyEsI6YKgb+v62yY1EuDWOWT65abA+Kw4N6v 7+qQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id a10si486236wmb.0.2021.10.29.06.57.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Oct 2021 06:57:03 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from baighyz.m.ilbers.de (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 19TDv0m3022514 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 29 Oct 2021 15:57:01 +0200 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH v3 0/3] Support of ccache Date: Fri, 29 Oct 2021 15:56:57 +0200 Message-Id: <20211029135700.27885-1-ubely@ilbers.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: TOBRmP+3rOvG Changes since v2: - Using USE_CCACHE="1" to enable the feature instead of inheriting - Removed ccache.bbclass, set required vars in bitbake.conf - Addec CI test for ccache Changes since v1: - Simplified used variables - Rebased on latest `next` Some custom user packages built from sources may be written in C/C++. Using ccache will help to decrease build time in case they are rebuilt. For example, building `mc:stm32mp15x-buster:linux-mainline` during the test took 28 minutes at second build with ccache enabled in comparison. Uladzimir Bely (3): meta: Support for ccache for custom packages doc: Add section about ccache usage ci: Add test for ccache doc/user_manual.md | 17 ++++++++++ meta-isar/conf/local.conf.sample | 5 +++ meta/classes/buildchroot.bbclass | 9 +++++ meta/classes/dpkg.bbclass | 2 +- meta/conf/bitbake.conf | 5 +++ .../buildchroot/buildchroot.inc | 1 + .../buildchroot/files/build.sh | 5 +++ .../buildchroot/files/common.sh | 1 + testsuite/build_test/build_test.py | 11 +++++++ testsuite/build_test/cibase.py | 33 +++++++++++++++++++ 10 files changed, 88 insertions(+), 1 deletion(-) -- 2.20.1