From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2P/eByaYaWKncgAAbAwnHQ (envelope-from ) for ; Wed, 27 Apr 2022 21:23:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IIs0ByaYaWJqbwAAG6o9tA (envelope-from ) for ; Wed, 27 Apr 2022 21:23:18 +0200 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 B2D9733122 for ; Wed, 27 Apr 2022 21:23:17 +0200 (CEST) Received: from localhost ([::1]:34956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njnFs-0007jP-FI for larch@yhetil.org; Wed, 27 Apr 2022 15:23:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njnFe-0007jG-Jv for guix-patches@gnu.org; Wed, 27 Apr 2022 15:23:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50549) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njnFe-0001uV-Aj for guix-patches@gnu.org; Wed, 27 Apr 2022 15:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1njnFe-0008Qo-7O for guix-patches@gnu.org; Wed, 27 Apr 2022 15:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54906] [PATCH] build: go-build-system: Add support for #:skip-build? #t. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Apr 2022 19:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54906 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Attila Lendvai , 54906@debbugs.gnu.org Received: via spool by 54906-submit@debbugs.gnu.org id=B54906.165108734032340 (code B ref 54906); Wed, 27 Apr 2022 19:23:02 +0000 Received: (at 54906) by debbugs.gnu.org; 27 Apr 2022 19:22:20 +0000 Received: from localhost ([127.0.0.1]:44446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njnEy-0008PY-8x for submit@debbugs.gnu.org; Wed, 27 Apr 2022 15:22:20 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:48150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njnEw-0008PO-12 for 54906@debbugs.gnu.org; Wed, 27 Apr 2022 15:22:18 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by baptiste.telenet-ops.be with bizsmtp id PvNF2700T4UW6Th01vNF5t; Wed, 27 Apr 2022 21:22:16 +0200 Message-ID: From: Maxime Devos Date: Wed, 27 Apr 2022 21:22:08 +0200 In-Reply-To: <20220413120052.25602-1-attila@lendvai.name> References: <20220413120052.25602-1-attila@lendvai.name> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-fnDclBHU/2uTwEXFMa3m" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1651087336; bh=5OLJrI8naw4ppcfNokz6KOjOoU3A7ZJRlNG6hkd1SXQ=; h=Subject:From:To:Date:In-Reply-To:References; b=QJfzk7r4HgJT9+WduwMf1UIfEykfC79dynmRxHfYb2iOVuFa3/F3phd4xgG1VHqFA Ror5xMuJYmIvAT+c60fJkh1N7UlsSG/sFrjWYq5yELS9VCinEp08+iD6wbMBobLk7X WWNUJPDxnvq/9GEa/r6rOKVT60PGAwCXeJGRXn/jvdGT2niXJznT/xCtim+AgqsHvO LVbcHUzzHMSrP1PckvAFsUQy9vOvBafzA7P1ES3FKz3Ud3VgXeCcwOhLwqg185RCPD EFbPpPTJ7WfSnnATEju8ViwZqIRdGp/UyIZRZGN2OQwWPvi5S8PuJ6Kk3xgEdfnrLj WSpz60cDjUAJA== 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651087397; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=5OLJrI8naw4ppcfNokz6KOjOoU3A7ZJRlNG6hkd1SXQ=; b=SjZnjkQUuW8vPrKaPMwJYFnsEUJi9LWndh8US4nCKJZrNYyU6ejzrYDL+iEYIiZsAe22uc G+06CN6Ho+IDkRamsd9Tm06STa//A97yXMZYM5gCElamMqfJemvcbSTR1lbiMu/Q396sUJ iGkfLgXFVy5wrDyojP/CfkbrR0jgNTG+t743KMJxuW7KChM21tsP4wLY5EbGNkoxReD7xK /jf23UKvf8ftuepmAJrEX/Q1CXydU9cOM579dI4+A6CSxauMGPcTSexQPP9wXCkoT/4+S7 xMWnVSj2FWkb4/LhuyIHI/v0XCdG+4Xp9nIr2abkOIEjUpTssH20mzEGYVuI/w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651087397; a=rsa-sha256; cv=none; b=DSnzAsV8m7oEfSrG8D3PJ/NZ5Vk59X7mj/0rzeZXUQC+OLwCYDZ+Vrm+0c/zj67tQ3gCRX kpNL60RrRy+hp6jB4Aj5ZbVCBvYgSqE1Fa2LOnkt2iJtt786FEPPdeV/veEIxv+JRTp4Q/ 7djqdC74wORDD8XRVcEDlZl25LjKylb64nzb58aGW/ffxYYcf/Jcu9dLP21xA+EXdLhjVa n7nWE+CCql4wCWNxpFcNNu/a3RlX8awHIXZL7ENJmcyzXZsIOfqORM5a3JQzjbf/66PxkJ fDyYEiIPrzwmDtJYXTGqMZ7QqqmxOGn8plIL38g60YjCC+sAPNPN1r94RBI7Rg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=QJfzk7r4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 3.90 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=QJfzk7r4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B2D9733122 X-Spam-Score: 3.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: zDpHLy6bIzHd --=-fnDclBHU/2uTwEXFMa3m Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attila Lendvai schreef op wo 13-04-2022 om 14:00 [+0200]: > This mimics the same feature of the cargo-build-system. >=20 > * guix/build-system/go.scm (go-build): Add skip-build? keyword param and > propagate it. > * guix/build/go-build-system.scm (build): Add skip-build? keyword param. The new WIP antioxidant-build-system (intended to replace cargo-build- system) will not have #:skip-build?, because the new build system actually reuses the build results off the dependents. Likewise, maybe long-term someone will figure out how to do something similar for go -- e.g., https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32919#5 mentions a =E2=80= =98go build cache=E2=80=99. So it seems more of a work-around than a feature to me. Maybe after building, the new cache entries could be copied to an output, and before building, the cache could be populated by old cache entries from dependents? That would allow for only having to compile the dependencies only once, reusing them for all dependents. Greetings, Maxime --=-fnDclBHU/2uTwEXFMa3m Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYmmX4BccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7vrGAP9GhZwie4hn1tgJsdAM7VtDWsRi Ar9dQTNqTlSWxSLN6gD/a+Y2p3/KhN1DXZqfRfyDr63wFSQGVEZYai8/WqoXoQU= =Smdh -----END PGP SIGNATURE----- --=-fnDclBHU/2uTwEXFMa3m--