From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cD2xGWTWdmMqAAAAbAwnHQ (envelope-from ) for ; Fri, 18 Nov 2022 01:48:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yP+qGWTWdmMlNAAA9RJhRA (envelope-from ) for ; Fri, 18 Nov 2022 01:48:36 +0100 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 22E532F25 for ; Fri, 18 Nov 2022 01:48:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovpYM-0006ye-4k; Thu, 17 Nov 2022 19:48:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovpY2-0006rJ-T3 for guix-patches@gnu.org; Thu, 17 Nov 2022 19:48:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ovpY2-0004k2-KB for guix-patches@gnu.org; Thu, 17 Nov 2022 19:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ovpY2-0001jr-Gw for guix-patches@gnu.org; Thu, 17 Nov 2022 19:48:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59322] [PATCH v2 3/4] gnu: racket-vm-cs: Avoid duplicate work. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Nov 2022 00:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59322 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59322@debbugs.gnu.org Cc: Liliana Marie Prikler , Philip McGrath , Liliana Marie Prikler Received: via spool by 59322-submit@debbugs.gnu.org id=B59322.16687324336518 (code B ref 59322); Fri, 18 Nov 2022 00:48:02 +0000 Received: (at 59322) by debbugs.gnu.org; 18 Nov 2022 00:47:13 +0000 Received: from localhost ([127.0.0.1]:34709 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovpXF-0001h3-9h for submit@debbugs.gnu.org; Thu, 17 Nov 2022 19:47:13 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:37279) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovpXA-0001gN-PE for 59322@debbugs.gnu.org; Thu, 17 Nov 2022 19:47:09 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id A5C895C014E; Thu, 17 Nov 2022 19:47:03 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 17 Nov 2022 19:47:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1668732423; x=1668818823; bh=uWNPaxEM/hHI0tTebpoGmUi8hjFKIy0oGel Xy1jKs1c=; b=Vbi9pIJvW4vrNdSRwowcqn22DXGHL6o7zyRHNZd6TcUeKBOE4t+ asaw7Kp8yosnUrlpODfjfsUDVgsZiAvJw5q1BaOoKylSa+ca4esxsnL7zM5/YcQ2 DEc1phkNOFznmnENTTAUrwSH6+Q+7ms9AzsMmnggC5rLCzk7q2w8qRUIUe1c3ffs wTCMX5XWZAPypTufm8g5WcQKRxwfw4NQp5kgfGmWK5OWycBpKYvdrHTD137YGgQW 65ns04risBotMSZPNmiyaOo0/1nB5GyxoDwaipV/bl3waQIrJr8/VVDmNIidFczr 503yJZbyGbXPUqTTnNKiHZVm/vITV1Dv61Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1668732423; x=1668818823; bh=uWNPaxEM/hHI0 tTebpoGmUi8hjFKIy0oGelXy1jKs1c=; b=QnlE/TNy6hkGrIicSfirjQ8dJSvzx L3fXtYURkGv+G/JhzDSPUYcTdVVa1bdi2e0gqEC48941luV4zMwzkN9qUCOYP9IX 38hIV1TRBFbSNZt8ebM1rPmO7cc6MAkaIFlSW3DdfoaK1t+PdISoTf07PkgaGrFM WaOlmr8XMEWLs9i/wHoQqkIfCxpNhnETFVIgvIMQvVeGoFT1kQtJbyYaDjDVMiPA k+8GsLqT4J1EkvjCw0Z2D5e3e8vZ8gf8c/bVAebT/0mot131VDJ8l9xwaigLCjFW ZA6ghvK7xmy2a9kropMFPPDPZXRgEPNzWKaYHoAIOsn5SBUHYME/Gd3sw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrgeelgddvgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefrhhhilhhi phcuofgtifhrrghthhcuoehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtghomh eqnecuggftrfgrthhtvghrnhepudehvdefjeetfffffeektdehtdetudfhtdfhuddtueeu kefhveehhfehvdfhheffnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehphhhilhhiphesphhh ihhlihhpmhgtghhrrghthhdrtghomh X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 17 Nov 2022 19:47:02 -0500 (EST) From: Philip McGrath Date: Thu, 17 Nov 2022 19:45:32 -0500 Message-Id: <549a86bbf01605b74c8987bffbf38fcfc73e9151.1668730588.git.philip@philipmcgrath.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: References: <6e91dc3c98d28fb4332a1b0109b23088b76b69f6.camel@ist.tugraz.at> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668732516; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=uWNPaxEM/hHI0tTebpoGmUi8hjFKIy0oGelXy1jKs1c=; b=G7E3NuZMnSMmnu32sTh6q9AB2hsmOOjCKYuOHNTnxRGEEuzKro7O5ZzmLsI06GTiRkjIUR mdZbzlSlZhNF7prJ7nw/zqTLuGbAdrZiqBQ4AfI0jOkFNVp7YY5oMaz4x+7rZpEMpFDSq/ myjw9GNvvUPE6xcS4+n0GiAB/DJ/BSYRTQKI5vV2svuFy8FMF563/931+iru0EvCg71PCe Zl3IATPaegRRksi7nEpvzyT9jQTAWtlBtE1FNExoqd424fk5KkYrEnBaJnMnSA1g4znmrK zBN9ZNQiWI/rKXrd1QdQyqKoMsCQM4xav5qmm34xmGtV3R3KMCPYYVeaTCOaKQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668732516; a=rsa-sha256; cv=none; b=QZU2ycOOZWkTWmqDkiEpfPtsUhwdXAJtZ1GwbyDv6eYH70xyK/joV69Yq47m/eK0sSNg5n N2L/QmB+fyOM7xGNtszHRNkO1juuXU8nKInDMXlpfjs1u56/LnY60BTg3Na8B+Uqopm0D6 vu8MuY0XLtstDuGCR5CeKOgsVT1Rhwfgiiqrbf4N/yivsKQ9ucIlNsbzVPP77vcZVbnGs2 1Z+dgzJBPDj3aeVJdtlw3oSqTOhNKAqEk3kwa0qVG4E/MlKjUCtU9t7SaJ/tBRJD1SarUK sbBMYgqpHCalyRmpNpM1mRB4tTxNfgpAfG/2MwPlukn/ARN12bkS48mEo8zO4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b=Vbi9pIJv; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="QnlE/TNy"; 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: 5.37 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b=Vbi9pIJv; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="QnlE/TNy"; 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: 22E532F25 X-Spam-Score: 5.37 X-Migadu-Scanner: scn1.migadu.com X-TUID: KFsuAHf/A7MA Only configure with '--enable-racket' for cross-compilation: otherwise, it effectively overrides '--enable-scheme' and bootstraps Chez Scheme again. This change saves a couple minutes of build time. See upstream discussion at . * gnu/packages/racket.scm (racket-vm-cs)[native-inputs]: Only supply a Racket VM when cross-compiling. --- gnu/packages/racket.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gnu/packages/racket.scm b/gnu/packages/racket.scm index 20d293e998..2cda2b6b9c 100644 --- a/gnu/packages/racket.scm +++ b/gnu/packages/racket.scm @@ -439,14 +439,12 @@ (define-public racket-vm-cs (let ((native-inputs (package-native-inputs racket-vm-cgc))) (modify-inputs (if (%current-target-system) (modify-inputs native-inputs + (prepend this-package) (delete "racket-vm-cgc")) native-inputs) (delete "libtool") (prepend chez-scheme-for-racket - chez-nanopass-bootstrap - (if (%current-target-system) - racket-vm-cs - racket-vm-bc))))) + chez-nanopass-bootstrap)))) (arguments (substitute-keyword-arguments (package-arguments racket-vm-cgc) ((#:phases those-phases #~%standard-phases) -- 2.38.0