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 4MHWNghZdWNVSAEAbAwnHQ (envelope-from ) for ; Wed, 16 Nov 2022 22:41:28 +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 oCbBNghZdWOyQAAA9RJhRA (envelope-from ) for ; Wed, 16 Nov 2022 22:41:28 +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 7EE4810D72 for ; Wed, 16 Nov 2022 22:41:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovQ9e-00036A-3K; Wed, 16 Nov 2022 16:41:11 -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 1ovQ9Y-00035a-OV for guix-patches@gnu.org; Wed, 16 Nov 2022 16:41:04 -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 1ovQ9Y-0000If-BI for guix-patches@gnu.org; Wed, 16 Nov 2022 16:41:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ovQ9W-0002og-TO for guix-patches@gnu.org; Wed, 16 Nov 2022 16:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59322] [PATCH 2/2] gnu: racket-vm-cs: Avoid duplicate work. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Nov 2022 21:41: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: Philip McGrath Received: via spool by 59322-submit@debbugs.gnu.org id=B59322.166863482210743 (code B ref 59322); Wed, 16 Nov 2022 21:41:02 +0000 Received: (at 59322) by debbugs.gnu.org; 16 Nov 2022 21:40:22 +0000 Received: from localhost ([127.0.0.1]:58357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovQ8s-0002nC-0V for submit@debbugs.gnu.org; Wed, 16 Nov 2022 16:40:22 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:59641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovQ8d-0002mM-DG for 59322@debbugs.gnu.org; Wed, 16 Nov 2022 16:40:09 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 41E985C0206; Wed, 16 Nov 2022 16:40:02 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 16 Nov 2022 16:40:02 -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= 1668634802; x=1668721202; bh=uWNPaxEM/hHI0tTebpoGmUi8hjFKIy0oGel Xy1jKs1c=; b=ZASPOVCgsJt5wpMrIufO8MBciKcl2dCx63emIMq02ALvqiFQrEx qGIj5q4NzkndvDmxiVuOYio8niHF3xoK1clNj7VgpGQTFCDPqWpOa+xCJTE+E9PV TbJJZpdhYU0PZvdZcD/OzJuhZGsYORK2BHOBON2WNv3ob3yYZ1OnbAez704Ge7AD 7m3fs/aGZMNwpifHu1m5jyfSNqpL8ejJW9yhv0wVS9shm1/FPWE5kWlUJhlTJyUC THUdRXYHBEf4cp1MpljHUgpEzahtuqLVTSlZ0my7TbR196YCxKE0YxUD5Y9lNsum xVRN6ntlyqXCOrpCElDJQxUV1WnX8mNzRlw== 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=1668634802; x=1668721202; bh=uWNPaxEM/hHI0 tTebpoGmUi8hjFKIy0oGelXy1jKs1c=; b=sHpNGORbj3HcjZQNEzi6kinPHCCPo TvuFMP4la9sDTXituUWTYHAqK+b5/wPLD0/bm9w3y/eOthVLSgrfl3v7R469beKA JSYnCDu0c11oofrs7U0rc0mh8t1mCCAiIq8qg/eXm0Gr2TiOWuNHQr1DVJqbXqDr IdSJKNvyQ6iukk+Y0K5blOBVdIiU7wt/usRxQ0JgJHcM0Exgqvmh5kNuvE+96CSo gC8O+TAWNUnuGg4OhW7c7hyUrEItlFnUhWi+HMrjy6iDPTuknluqxgXj6BG/5sWQ +GbchhVGtWznoN5isvDbl/4FrYqrHxRDi86oLP9/24KKoYrABZJxAUPAQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrgeeigdduhedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefrhhhilhhiphcuofgtifhrrghthhcuoehphhhilhhiphes phhhihhlihhpmhgtghhrrghthhdrtghomheqnecuggftrfgrthhtvghrnhepudehvdefje etfffffeektdehtdetudfhtdfhuddtueeukefhveehhfehvdfhheffnecuffhomhgrihhn pehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtghomh X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 16 Nov 2022 16:40:01 -0500 (EST) From: Philip McGrath Date: Wed, 16 Nov 2022 16:39:29 -0500 Message-Id: X-Mailer: git-send-email 2.38.0 In-Reply-To: References: 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=1668634888; 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=Yj3k8Heu7dskyFK0P+Sv1y8cCC6PPzS1CbSSMYxZsychxsjd0/xduN4RJgOME5qSS2DypT Iwfb6gIBEEewDOCWIrcXwtaAskeodqhn5LFPhU0vGWupsRtq6//cQLB3x+nhiyfRbXutb7 9dyBaDAAc3ClkDlIYztbWpQH6UvErYO1QL3t0QZXolZ+DfqQKlPDORVlcNRPuuePCNxtx7 dj7xQjteNB+6dAsAEGEVg0VEljUd4CJaxZN2waLqkeFEJXlsFvrdzFLaT9kmdJ4U/NrZhQ pulZTJsfMtfp81lJ14rbHz9dgIVGUG3Gho6xD7ExCkzCRcx021bfdYlor8srtA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668634888; a=rsa-sha256; cv=none; b=bhIETd14HTK+UAaX80oG91RslMe1CXMdrNiQV2WDwSNe581hjGG4mdoB84FuNjxFiuSBAf AgIfjx1rAkUCBKlgimZaA40ZorK64lzP8TiPRxKylcToCU3Etn2vhfEkBxk85AWe3RwyOV /1uVFeOvjJYeIsxJzRu/mS04H5dSUBjpeqx1cvVPxgwminBt9t7dlLK+iQCEQpmieA2zsx TifNhJUL6D6T+5349sLppxtaJ7BZFclzSBFfhIQJ1pT18Oo4cJo1rXxmOaXHNgj7+qAUSG UuuElcK9TYOYQ7Zs3Rof0h0IIL7zCDIu59AtB8R2w72jykAXLAzn/pjFmcFIDw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b=ZASPOVCg; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=sHpNGORb; 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: 2.26 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b=ZASPOVCg; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=sHpNGORb; 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: 7EE4810D72 X-Spam-Score: 2.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: IK02yMG6pTjE 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