From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7013292876278792192 X-Received: by 2002:a05:6402:348a:: with SMTP id v10mr7350547edc.0.1635437996193; Thu, 28 Oct 2021 09:19:56 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:aa7:cc15:: with SMTP id q21ls912129edt.0.gmail; Thu, 28 Oct 2021 09:19:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlG7FcQNUf8LE+OjsY1quEDnRKPmo5mG95WkZZYi78qEKQgs+L/DbvHVFgqy0fDJgbU/P1 X-Received: by 2002:a05:6402:1e8f:: with SMTP id f15mr7252961edf.212.1635437995072; Thu, 28 Oct 2021 09:19:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635437995; cv=none; d=google.com; s=arc-20160816; b=yCKbiyeIq5OQh7zd7Uz0W6dJFFRl02hgivmxCE2OCfhlOdHxaezEiU2Wh8TtHfzq+K 3QA/s6JCsE6CvotM3bhHQdUn78bMVmDCe9xkhdHAkwlcc0rnoSe8AvdLWDGM6o82yERJ cI74/0ayS1xFeoNL8Fvo+rmYcExuJQkiNfibB37HbiflwmdBrNHy4uykgpHvZylyeqcs uWaLJzSWV7gGpqrI0Bt50huKNtFbuTxK+nqKolrD8018sKZovQIrgUe+VdqXOSl/O1ih 846G1j3tRJRl2lHJngAeiOMjDeD39o4PpMQqP/OmqngVUD6WuhcxKRoPHN7eR82njsRD VUwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from; bh=cOhrbQXVOAhnG53377G/xyIZmwzVJ++4Z/dNhkMOHfs=; b=ECjAt1t2B2pU/X5X5C0yQrVpY8A4RrwGyLO/8rz1JR5lEfkeJOJy/9RspLHF54X2j1 tOgOzzmaEobzv5nFektL56Hkdoc7P3zrmzoCRe9cFttzc9ceq0Hqt0ePUTnHG68EVsLF G5H5HBtVw/XRkcptzUdfHPgy/wF1B5GRPUFkaAlXnRocGoUzI8tFlcG9EfrYWosvkTqT 2j1iRtAPIzkPkjiOilovoS3269c0QPYtUoiHFWV9OdK+9X7L68WUk5n1tfPRvjnZBsTs JdOxKwwA83HIvYgDcj/k3SGXBNqvfh/ysRZIz2KPvhQc/8IFsusCnguMk23O5LPg3eer nI8A== 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 bi21si248583edb.0.2021.10.28.09.19.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Oct 2021 09:19:55 -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 hp.localnet (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 19SGJogl018181 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 28 Oct 2021 18:19:52 +0200 From: Uladzimir Bely To: isar-users@googlegroups.com, Jan Kiszka Subject: Re: [PATCH v2 0/2] Support for ccache Date: Thu, 28 Oct 2021 19:19:49 +0300 Message-ID: <4310624.niJfEyVGOH@hp> In-Reply-To: References: <20210929095810.3228-1-ubely@ilbers.de> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-TUID: vCvzwjDkSrLP In mail from =D1=87=D0=B5=D1=82=D0=B2=D0=B5=D1=80=D0=B3, 28 =D0=BE=D0=BA=D1= =82=D1=8F=D0=B1=D1=80=D1=8F 2021 =D0=B3. 18:41:05 +03 user Jan Kiszka wrote: > On 29.09.21 11:58, Uladzimir Bely wrote: > > Changes since v1: > > - Simplified used variables > > - Rebased on latest `next` > >=20 > > Some custom user packages built from sources may be written in C/C++. > > Using ccache will help decrease build time in case they are rebuilt. > >=20 > > For example, building `mc:stm32mp15x-buster:linux-mainline` during the > > test took 28 minutes at second build with ccache enabled in comparison > > with 115 minutes of first build. > >=20 > > Uladzimir Bely (2): > > meta: Support for ccache for custom packages in buildchroot > > doc: Add section about ccache usage > > =20 > > doc/user_manual.md | 17 ++++++++++++++ > > meta-isar/conf/local.conf.sample | 5 ++++ > > meta/classes/buildchroot.bbclass | 6 +++++ > > meta/classes/ccache.bbclass | 23 +++++++++++++++++++ > > meta/classes/dpkg.bbclass | 3 ++- > > .../buildchroot/buildchroot.inc | 1 + > > .../buildchroot/files/build.sh | 6 +++++ > > .../buildchroot/files/common.sh | 1 + > > 8 files changed, 61 insertions(+), 1 deletion(-) > > create mode 100644 meta/classes/ccache.bbclass >=20 > What's the status here? I think we still wanted to simplify/unify the > UI, aligning it to ISAR_CROSS_COMPILE. >=20 > Jan The new patchset is prepared, but a bit stucked at internal review. In short, changes in it are the following: =2D USE_CCACHE=3D"1" in `local.conf` is used in to enable the feature in ge= neral. =2D USE_CCACHE=3D"0" can be set in the recipe to avoid caching even if it's= =20 enabled in general =2D ccache.bbclass was removed the main ccache-related variables were place= d to=20 bitbake.conf. =2D-=20 Uladzimir Bely Promwad Ltd. External service provider of ilbers GmbH Maria-Merian-Str. 8 85521 Ottobrunn, Germany +49 (89) 122 67 24-0 Commercial register Munich, HRB 214197 General Manager: Baurzhan Ismagulov