From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8LAKIopHNWHZdgAAgWs5BA (envelope-from ) for ; Mon, 06 Sep 2021 00:41:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iGmRHYpHNWGndQAA1q6Kng (envelope-from ) for ; Sun, 05 Sep 2021 22:41:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CED106924 for ; Mon, 6 Sep 2021 00:41:13 +0200 (CEST) Received: from localhost ([::1]:40936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mN0p6-0007yi-N8 for larch@yhetil.org; Sun, 05 Sep 2021 18:41:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mN0ow-0007yI-65 for guix-patches@gnu.org; Sun, 05 Sep 2021 18:41:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39595) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mN0ov-0001cv-UY for guix-patches@gnu.org; Sun, 05 Sep 2021 18:41:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mN0ov-0000Fw-M1 for guix-patches@gnu.org; Sun, 05 Sep 2021 18:41:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50384] [PATCH v2] Optimise search-patch (reducing I/O) Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 05 Sep 2021 22:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50384 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 50384@debbugs.gnu.org Received: via spool by 50384-submit@debbugs.gnu.org id=B50384.1630881635944 (code B ref 50384); Sun, 05 Sep 2021 22:41:01 +0000 Received: (at 50384) by debbugs.gnu.org; 5 Sep 2021 22:40:35 +0000 Received: from localhost ([127.0.0.1]:51141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mN0oU-0000FA-Rm for submit@debbugs.gnu.org; Sun, 05 Sep 2021 18:40:35 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:39526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mN0oT-0000F1-Av for 50384@debbugs.gnu.org; Sun, 05 Sep 2021 18:40:34 -0400 Received: from butterfly.local ([213.132.129.254]) by laurent.telenet-ops.be with bizsmtp id qNgW2500Z5VU3ct01NgXsu; Mon, 06 Sep 2021 00:40:31 +0200 Message-ID: From: Maxime Devos Date: Mon, 06 Sep 2021 00:40:25 +0200 In-Reply-To: <0ec7f0270fcccec730808f9210f074cd5339961f.camel@telenet.be> References: <8900fa8c8eef7f72fc97adc2408be26c88de7803.camel@telenet.be> <87tuj0xaja.fsf@gnu.org> <0ec7f0270fcccec730808f9210f074cd5339961f.camel@telenet.be> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-8PFn3UvLuEaYOsrLL9hA" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1630881631; bh=1zip/nzL0NaIuCwswkrlWoiSPVR8rXKY4cvR0IgwlC0=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=kGaorbEv2TlLV2teEtxGXeDYN3kMv8E1GAwjRwxe3fQ3+m8Mno9udligvOe9BFdB8 dsXbJIgxlGWChrLkQS+IujgzwwvZoEkWvpbt8Vznab4yjtJssGImabAzAlyVCmYjPb EJ5lCy03cRG+wMJoXcW/lu3+u3H7vy8mW3ramdRuqBSw7NyZb3d72tPTdU0eLS+N+B T7Vk5kN8lesBnOPLeaodC9opMruo2guFXh/c097UbZZMSQK5OdEp9yr51fPYLCiqcD /4O3n73BciMXJnCi0e7qWh9SjtFBewnbsMpDEoOAncA59OBoB2vpwdPVD9drZaEDrR kX0EOkIurPz/g== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630881673; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=1zip/nzL0NaIuCwswkrlWoiSPVR8rXKY4cvR0IgwlC0=; b=D4vmZ/DEq/cg2kWCgYiBwr3//TZR15xKP97wfeJ6Ir6e3STRt56pHK8Oz1fl8mCJJHVLD2 W0LD6o04JCmSs6gZVsgo+6s90F+eWPS5Yk15rIIHmWn8TqedoWvyFvs3zNMeyTl67eoFPl xLptKFZbo4O1iLST8ZySEBs/tuICOqRZH12gI5Rn9b/F7kXqCqV5kJRuP2TKP6g0nT9nLj hPKplwYQ9VZ2cKFpmSFKKoTedAmttZfP0rMruX8kxO75fHfV+kfzK05pl4eQJCRhuUBkTG 55ZrNifSO7n1jFsshBGoMdBw979smIpoCasR8+muzVZCQ5UHf1nwTUiIQPHuRQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630881673; a=rsa-sha256; cv=none; b=NC9ZNFBWyeyVJosQtnu+PTB6IBbfMBpERdjv/vBRYtIfZ2geW04YMpdMhdfg+D0+YSdzFF 3OGgzbBCA0Eqy/USNV1xs9z6IB7qOzLCvHhZqWFvCLAZZ96QL2EHcd/1B4RoXQcRfuChkb z2I3p2YA6QBCYuOyxH249ywj4CbM0cz1+DEJNAAaa3p0AJpdImBYZXAtqqWNtkrJf7XbcP KTxDUp2ey7w/zOh2bpjjqQvL4MNkAiNHaDFqDAhXsBcZOwaqxLThdgUJFCQGRPzdTbYWpO ptrVKFkYsHmGMX0QMKOZd5sL+kimqoHGOWVvRSvgvR5P+4AZUbMFeiT3FdbQZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=kGaorbEv; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=kGaorbEv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: CED106924 X-Spam-Score: -3.41 X-Migadu-Scanner: scn1.migadu.com X-TUID: qg6rIyVap/QD --=-8PFn3UvLuEaYOsrLL9hA Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Maxime Devos schreef op zo 05-09-2021 om 21:48 [+0200]: > Ludovic Court=C3=A8s schreef op zo 05-09-2021 om 00:04 [+0200]: > > Maxime Devos skribis: > >=20 [..] > I added two patches adding (limited) dependency tracking to compile-all.s= cm. > If a patch file is now modified or deleted, the corresponding package mod= ules > will be recompiled. This should remove the =E2=80=98evilness=E2=80=99 I = think. Oops, I forgot to include the following change to build-aux/compile-all.scm= : (or (not (file-exists? go)) (file-mtime) extra-dependencies)))) + (any (lambda (dependency) + (or (not (file-exists? dependency)) + (file-mtime