From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eGXLAVmFamIOdwAAbAwnHQ (envelope-from ) for ; Thu, 28 Apr 2022 14:15:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YBXZAVmFamK3YAAAauVa8A (envelope-from ) for ; Thu, 28 Apr 2022 14:15:21 +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 B9E23241E2 for ; Thu, 28 Apr 2022 14:15:20 +0200 (CEST) Received: from localhost ([::1]:34228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nk33H-0003m2-Fs for larch@yhetil.org; Thu, 28 Apr 2022 08:15:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nk331-0003kf-Ds for guix-patches@gnu.org; Thu, 28 Apr 2022 08:15:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51806) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nk330-0003BR-Hm for guix-patches@gnu.org; Thu, 28 Apr 2022 08:15:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nk330-00071I-AU for guix-patches@gnu.org; Thu, 28 Apr 2022 08:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54906] [PATCH] build: go-build-system: Add support for #:skip-build? #t. Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Apr 2022 12:15: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: Maxime Devos Cc: 54906@debbugs.gnu.org Received: via spool by 54906-submit@debbugs.gnu.org id=B54906.165114807826943 (code B ref 54906); Thu, 28 Apr 2022 12:15:02 +0000 Received: (at 54906) by debbugs.gnu.org; 28 Apr 2022 12:14:38 +0000 Received: from localhost ([127.0.0.1]:45703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nk32c-00070V-HB for submit@debbugs.gnu.org; Thu, 28 Apr 2022 08:14:38 -0400 Received: from mail-4317.proton.ch ([185.70.43.17]:55207) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nk32Z-00070E-C2 for 54906@debbugs.gnu.org; Thu, 28 Apr 2022 08:14:37 -0400 Date: Thu, 28 Apr 2022 12:14:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail3; t=1651148068; bh=y0O1VLzNV6ELUjo8R6mOOKogg9byUjHDRj+JTdacKPc=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=UGFNH386zNg5SZFg2sLE4R37FcKu4GKXe7A7fRHoXgdDwvXBum7jwjyObuBmJ/Qng 2tkhxudOoMb1wHOGkICkLkd7TvvmoTJlrmznlc0PivUWYMQ4PTZfuVxUrDGLO1qLsp 4hvV+31ODALJPt61DPl8QXe60XuoOYhnZzuR8nQuHixa1tXlrqbKXLsto6qGjxJtH0 6EzYnc7IZO0xVYFTNaPK03+iiBosg8hSOJZ/Juf23uWgEjcMucRYOsyskaX6hxFYzD fhljeSpESTmMkZhegr8GD6nHkqUd1NTW1c+4uUkP8LoXa/MOeYp/RtzBE4Gr2YeMzn KWAVw652T0HGQ== From: Attila Lendvai Message-ID: <3D-9L8EDNEWZf3igXJF7tggNU1dw8wj5nUKGHbiHtcWciiKmwAP5QdazadE4OYLDYgzvPeOOehdi7fnc4ktx7f3KmR3N76ukjSopOc-hkS4=@lendvai.name> In-Reply-To: <2011a56256b561e89fcecc3febdc8dbc2bf7beae.camel@telenet.be> References: <20220413120052.25602-1-attila@lendvai.name> <2011a56256b561e89fcecc3febdc8dbc2bf7beae.camel@telenet.be> Feedback-ID: 28384833:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Reply-To: Attila Lendvai 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=1651148120; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=y0O1VLzNV6ELUjo8R6mOOKogg9byUjHDRj+JTdacKPc=; b=QBdyHOCg7oczn6zTDkyBm98VXICthA/tWhZ60UZmK1uLwnSwQguLEEGn0uw+aZSr2jkEak 7wBalgOED1tyKrB2LNuBUwKNY6eLmK4f5ZeuHmPAk1Zvc14NVI8Ufnf9D+rW/uD/oysm1P jl37XNAOWK6u3WSZSBX3SF5a/r30zLaro3rQiLmule6s5kfb6q2gxAnvQZ8jeK4WvszoUA ThfeYPQ48gqf58u3BQPojJHrqs6Do+rg2+yWlzeWOxi/mlFSC6DMIWmv8ytSOXb+9F7onq RfUMegYwaSy0ZWo7mOERvdygc6yRToIpNY11JfDZL6qwfcgtF4n/q4A5wxHJ0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651148120; a=rsa-sha256; cv=none; b=M4pKAF+QchKo/bvcVHdTEKQTfJHNfUaVashSdFUN38q4Lh3C/3MpeYudRZ7lAFnIRek4Xw cL8SCnbluoAggTDzqjxYi+S+m1KnPnXTiL65i19GAtC7o5hB6uMNSVCfF+AjtvlGvV0Jwc E+PLK98hXZwzBQGV7lLLkwl6yLqWizv4Qzf5zfJWibhSiIBgB19r0oHp25MO/OJ7WEqyBK WbeP96aLIZbwIlfQiBycm7OXgTSVxXKT5ScUtQcjg0PtrdlS920dUXrySCYnVHNUGqXu7h CkqRvt5LMPdAkYK8a0Rx+1KVuqQF5zGccLDOJO7GO8wRrhR8H/r4wQJXyuO8sg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lendvai.name header.s=protonmail3 header.b=UGFNH386; dmarc=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: 1.00 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lendvai.name header.s=protonmail3 header.b=UGFNH386; dmarc=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: B9E23241E2 X-Spam-Score: 1.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: JEhasP8a1MVA > > if there is SKIP-BUILD?, then i can just set it to false in the > > importer for all the dependencies, and only flip it to true for the > > leaf packages that i'm actualy trying to build. > > > Except for long build times due to not reusing build results, I don't > follow: if dependency X doesn't build, doesn't that imply that > dependent Y won't build either? Conversely, if dependent Y builds, > doesn't that imply that the dependents can also be built by > theirselves? i'm afraid i'm stepping beyond my level of knowledge here... but i think this may not be true for golang. and AFAIU, the current GO-BUILD-SYSTEM doesn't reuse any build artifacts. it only arranges the sources of the dependencies in a way that the invoked `go build ...` can find them. > To be clear, my comment was more about the wording (feature / work- > around / ...) than about the addition of #:skip-build?. thanks for clarifying that! -- =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CMost economic fallacies derive=E2=80=A6 from the tendency to assum= e that there is a fixed pie, that one party can gain only at the expense of= another.=E2=80=9D =09=E2=80=94 Milton Friedman (1912=E2=80=932006)