From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7003273629391650816 X-Received: by 2002:a2e:a363:: with SMTP id i3mr2053997ljn.86.1630581108348; Thu, 02 Sep 2021 04:11:48 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:ac2:4146:: with SMTP id c6ls1336lfi.2.gmail; Thu, 02 Sep 2021 04:11:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhMOs+ILiATvtU6YTtdqyLCxClxQm1m7UEswxdLVl3D3aekAE72fe9OUW0BHfaTxIgwmnP X-Received: by 2002:a05:6512:1394:: with SMTP id p20mr2087956lfa.189.1630581107243; Thu, 02 Sep 2021 04:11:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630581107; cv=none; d=google.com; s=arc-20160816; b=Brau6wfaYiyQ8m8MuVgCjBIN/a3Xf6Q0VWMOUi0AM3qzsGiQ10l08x7B52Kad69BCs u4Osa36SoTh+RwQ5DLx+MOoFQ3wSxdNNXzUzom0Ia+au5iRGxrMp7v4KY12AW0bPo7t0 U+VFOPs9jxBpPjkao64qwY3R3D6Mj2a0i6Oz4jtYyQP64JGaxByPPNUTTrDYkyECsnUT 9dajJYCQOKjP3YFgV4GsY7Szi/vUtAF5wR2O1M6a0r3j5yhiFSTiv84vt7+W55yhAoUK sGzT75zNu43dwiUeUdvaYpaaJp/VH2AV3grMXFgUwv8gL9Dt9/A+8xk6wmVWAW1kRh9n ubiQ== 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:subject:cc:to:from:date; bh=KvxjTa1O++cwzmw+VTqn6NhRyBvv+N7RMoUUogEzAu0=; b=mCz7C/tOIAzLb8TQ/xX4vZRM2ol+UnmzEU51H8OZeiWjCYjqFF+b2/W1SGltDlkS8D llJslyB8w96jTZTWln745bY2CCQ/asiym0+BzmeTQjSfPWLXnjnw5GK1v30Vn2CXPl4X jh1NTAt10NndrXhmHJDMG0dWX9OtTWVWVZbW9b5romhZzXhfXUhaJbmHT0e6/yrKa1qY EQiTbCdSMbk6ULx8agV9hJYV5Y3bQwxkWZRlavM1CeTZgKSXjZaWm1eYk1WnYg/QACXU lVHsU5rOx0ijCgjc+xx3NCU36zZIn+n6OAR/Z+OetMhwZ01qUITFY/L6flqWwWryAT3Z rGIQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id c12si54101lfi.11.2021.09.02.04.11.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Sep 2021 04:11:47 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id 182BBkGF022085 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 2 Sep 2021 13:11:46 +0200 Received: from md1za8fc.ad001.siemens.net ([139.25.0.59]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 182BBk83020765; Thu, 2 Sep 2021 13:11:46 +0200 Date: Thu, 2 Sep 2021 13:11:45 +0200 From: Henning Schild To: Uladzimir Bely Cc: isar-users@googlegroups.com, "Schmidt, Adriaan" Subject: Re: [RFC 0/4] PoC for isar-apt repo reusing Message-ID: <20210902131145.3d871949@md1za8fc.ad001.siemens.net> In-Reply-To: <20210902095817.32165-1-ubely@ilbers.de> References: <20210902095817.32165-1-ubely@ilbers.de> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: fT4uh4kZ/qT1 Hi, i did not look into the details yet. Just wanted to let you know that we do have a prototype implementation of using sstate caching. That allows caching anything, not just isar-apt. The speedups on rebuilds are more than just significant. But it is still too rough to present it on the list. I think that sstate and setscene are better and more generic than targeting only isar-apt. If you want i guess Adriaan can share the current state of the "sstate" patch series for anyone to play with. We are not holding back, just are not ready to show ... But seeing that you work on similar things it is about time we tell people about that ongoing sstate experiment. Henning Am Thu, 2 Sep 2021 11:58:13 +0200 schrieb Uladzimir Bely : > Currently, isar-apt repo is always rebuilt at second build when > temporary files except the repo directory were deleted. > > This patchset implements proof-of-concept of reusing isar-apt > repo previously built. The idea is to check that package already > exists in the repo and early exit tasks related to fetching/building. > > Such approach doesn't remove any tasks from the queue, but changes > their behvaior (early exit) in case of existing package found. > > Uladzimir Bely (4): > meta-isar: Fix do_dpkg_build override for prebuild-deb recipe. > isar-apt: PoC of reusing isar-apt repo > ci: Test for isar-apt reuse > doc: Add section for isar-apt reuse functionality > > doc/user_manual.md | 23 ++++++ > meta-isar/conf/local.conf.sample | 4 ++ > .../prebuilt-deb/prebuilt-deb_0.1.bb | 2 +- > meta/classes/dpkg-base.bbclass | 1 + > meta/classes/isar-apt-cache.bbclass | 72 > +++++++++++++++++++ scripts/ci_build.sh | > 10 +++ 6 files changed, 111 insertions(+), 1 deletion(-) > create mode 100644 meta/classes/isar-apt-cache.bbclass >