From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id FsZTDodnNV+uQQAA0tVLHw (envelope-from ) for ; Thu, 13 Aug 2020 16:17:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KCPECYdnNV8NAgAAbx9fmQ (envelope-from ) for ; Thu, 13 Aug 2020 16:17:11 +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 A700F9404CB for ; Thu, 13 Aug 2020 16:17:10 +0000 (UTC) Received: from localhost ([::1]:59022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k6Fuf-0004ly-5C for larch@yhetil.org; Thu, 13 Aug 2020 12:17:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6FuY-0004lr-OU for guix-patches@gnu.org; Thu, 13 Aug 2020 12:17:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39240) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k6FuY-00087k-FH for guix-patches@gnu.org; Thu, 13 Aug 2020 12:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k6FuY-00011K-BQ for guix-patches@gnu.org; Thu, 13 Aug 2020 12:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42049] [PATCH 0/4] build-system/cargo: Propagations across the crate closure. Resent-From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Aug 2020 16:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42049 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Efraim Flashner Cc: 42049@debbugs.gnu.org X-Debbugs-Original-Cc: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15973354123418 (code B ref -1); Thu, 13 Aug 2020 16:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Aug 2020 16:16:52 +0000 Received: from localhost ([127.0.0.1]:50786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6FuO-0000sl-39 for submit@debbugs.gnu.org; Thu, 13 Aug 2020 12:16:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:33258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6FuN-0000rs-66 for submit@debbugs.gnu.org; Thu, 13 Aug 2020 12:16:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6FuN-0004lV-1W for guix-patches@gnu.org; Thu, 13 Aug 2020 12:16:51 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:37018) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k6FuL-00086c-02 for guix-patches@gnu.org; Thu, 13 Aug 2020 12:16:50 -0400 Received: (qmail 22133 invoked by uid 1009); 13 Aug 2020 18:16:40 +0200 Received: from nat-0.staszic.waw.pl (kuba@kadziolka.net@nat-0.staszic.waw.pl) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25900. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(94.240.45.201):. Processed in 0.060065 secs); 13 Aug 2020 16:16:40 -0000 Received: from nat-0.staszic.waw.pl (HELO gravity) (kuba@kadziolka.net@94.240.45.201) by pat.zlotemysli.pl with SMTP; 13 Aug 2020 18:16:40 +0200 Date: Thu, 13 Aug 2020 18:16:38 +0200 From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Message-ID: <20200813161638.ffgfusjplz5zcfgx@gravity> References: <20200625212523.25016-1-kuba@kadziolka.net> <20200813094843.GC1228@E5400> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lfmvob6vvbh5fv5w" Content-Disposition: inline In-Reply-To: <20200813094843.GC1228@E5400> Received-SPF: none client-ip=37.59.186.212; envelope-from=kuba@kadziolka.net; helo=pat.zlotemysli.pl X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/13 12:16:40 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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-Spam-Score: -2.61 X-TUID: sfO4Uxeb/5un --lfmvob6vvbh5fv5w Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 13, 2020 at 12:48:43PM +0300, Efraim Flashner wrote: > I'm going to respond here so the thoughts don't get lost. While it would > take care of some of the issues we have regarding adding regular inputs > or propagated-/native- inputs, I don't think this is the way we want to > go. If we can't figure out how to re-use build artifacts then I'd rather > copy the go-build-system and install the sources into the output and use > that as the input for the next package. That would give us the > build-graph which we really want. Note that this wouldn't solve all the issues, we would still need an equivalent for propagated phases, to set any environment variables necessary. Moreover, note that the reason the current system was introduced in the first place was to avoid the quadratic builds. I suppose this is less of an issue in go-build-system due to the order-of-magnitude difference in compiler speed on typical source code. As for re-using build artifacts, once we figure out how to do it, we can always revert this patch, together with the one that originally added cargo-inputs. I don't think it's going to be any time soon, though, as upstream doesn't support this style of building. Regards, Jakub K=C4=85dzio=C5=82ka --lfmvob6vvbh5fv5w Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl81Z2YACgkQ4xWnWEYT FWRJKw/5ARe5CUp+YkggXptVWzZWZjQ+n5AEipSEBeD6iTVCIciUxFa6k3Y+bylo s3D1o1krAwclV2rQREC+gRdN274JRAcFiv9BilHzgVffefMZNP2mPZK9fFD4thlJ /xYBQInGP4KePn9f4hFcapgSYQWQ3N3k2RDDOg27P1tFqSNlT5NihV215xbPhdAi Xl9TNKOJTCdks8SxL27841lw9KhMOADahjlGO3kc9WOYeQ7OzBipTrCoUEdekQl8 +IYiZ63AqXZFx7aK93S2Kc6aD134Jd8mjKqnywrJwCCDrGh0zmOnSGVbT4W4vOBe zDqVRZYvGvYwfAe6XiVaZaF9BJBZE9RnftfHSnFioVHAUy1qeQ3NZyIHsJEvAV83 vCoApdfccmKbxkbzchvr4fkECCsbsjKYWGI8f7w9fc99cH7kuWe9X7E5tTmjjJMv 7R83cG8IxGBJzIw/plfdLmXswy2RyyO2iZqW92Q4jc44W6WDi/7jAKl/ipAAOmiI QbhQVdQlAN5NxzXeDNXlZFZ7dp8mxCVdApluV39cAaIgqrNTRMFUB3Lbeo87LlyW u9/mUzryu1gdoAhSV7IHandQWJXv+1apzd7bbpKu+9oXV+/fQIhDUdT7ViqKgIrc VwmN7izB2j4QBDo2hj6fbbp149uf9MKgTJCgTaczp7H3JzuEOFc= =r91e -----END PGP SIGNATURE----- --lfmvob6vvbh5fv5w--