From patchwork Wed Nov 16 21:39:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 44551 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CCAAC27BBEC; Wed, 16 Nov 2022 21:41:29 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5094E27BBE9 for ; Wed, 16 Nov 2022 21:41:28 +0000 (GMT) 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 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches 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)