From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qFxEG/TaEWKtEgEAgWs5BA (envelope-from ) for ; Sun, 20 Feb 2022 07:08:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8PfqE/TaEWIYMQEAG6o9tA (envelope-from ) for ; Sun, 20 Feb 2022 07:08:52 +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 DC0F612E56 for ; Sun, 20 Feb 2022 07:08:51 +0100 (CET) Received: from localhost ([::1]:60606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLfOt-000734-3a for larch@yhetil.org; Sun, 20 Feb 2022 01:08:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLfOA-000638-Fp for guix-patches@gnu.org; Sun, 20 Feb 2022 01:08:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37090) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nLfO7-00048x-Sb for guix-patches@gnu.org; Sun, 20 Feb 2022 01:08:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nLfO7-0005XV-OC; Sun, 20 Feb 2022 01:08:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53878] [PATCH v4 12/15] gnu: Add racket-vm-cs. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: philip@philipmcgrath.com, guix-patches@gnu.org Resent-Date: Sun, 20 Feb 2022 06:08:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53878 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53878@debbugs.gnu.org, Liliana Marie Prikler , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Attila Lendvai , Malte Gerdes , raingloom , zimoun , Philip McGrath X-Debbugs-Original-Xcc: Philip McGrath Received: via spool by 53878-submit@debbugs.gnu.org id=B53878.164533724421187 (code B ref 53878); Sun, 20 Feb 2022 06:08:03 +0000 Received: (at 53878) by debbugs.gnu.org; 20 Feb 2022 06:07:24 +0000 Received: from localhost ([127.0.0.1]:59207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLfNT-0005Ve-Vh for submit@debbugs.gnu.org; Sun, 20 Feb 2022 01:07:24 -0500 Received: from mail-qk1-f179.google.com ([209.85.222.179]:34528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLfNF-0005Nt-4Y for 53878@debbugs.gnu.org; Sun, 20 Feb 2022 01:07:09 -0500 Received: by mail-qk1-f179.google.com with SMTP id 185so4817286qkh.1 for <53878@debbugs.gnu.org>; Sat, 19 Feb 2022 22:07:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4ShzeyZsRCigfyxoFD7aYzR9LiIx+sSCoyEYRMjDGUo=; b=jtW9ysach5ZZGr86H0nGkxcMFcxl663YEkh1zKW8iL6S6jEw1SpZTUX1Gqkgw+csaQ bXX6tIQ5JfO6mIDvMqXxrO9BUiNHj9/ZoB8N1FtmDqJIN9jyvnrnFPTrQM6bPexDFMP8 sDsCnZlNv0mB6FQC3XROK16Xepq9UchAzGyV2c4Uot81cLI94vD3yz50mtUKO1hE9N4L UkJZtHb81MyQ66enPgriVZdJN0qbkEmEjCWe9qpirdaYYK81u5UsegYOuEjvhl7FyFl9 ZtWjdjgjomSKKTKBRfzP3ppnVjgMur7DXPz8R0Op+gcjzZfrE95sMV7Op7ogBax+lle7 kQ7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4ShzeyZsRCigfyxoFD7aYzR9LiIx+sSCoyEYRMjDGUo=; b=aUL3+ZX+d90cA8SRcDur62eBda4MA1iaOlI0bAb/05eIBHOMC0nhU/I+8uzaTiTPzN qSLiQotVvPcpIW1IUokwIzNN03sm46XPZc504D8J1JSDfXctaBr5N45OriDmlGTO6N1r FBDcPWxhoqAWDk0JYlY4VEKn/VG/9Mg34QNV5msYeJhZmBc94ocqrIMalVdHqmiWagdA y4KolM1o9wI/rVvox6xRGUf8ESCJo4N28eXo6R/iLLxxy4QDktiJ5A1NDqYQQMTk7mdB fH2p8KNzxRWz2px3lnKPDlG/O7NrdIDyHcHd7u8ezr73UwM6JEK0oovpm61NBxB3UGUR Y+5A== X-Gm-Message-State: AOAM530+gjnNA57UeOmXp2pyyiL3eGP7qdo/pwzWP+88P9hyENRnoISP OdLElAAcGNDfoZKsUwtWSEdeFHjW3ZBxp/p6InY= X-Google-Smtp-Source: ABdhPJzRYYKVEBtGz/XVkS8Mkb7vQ+K0qxFRnj7YbJSPFld7ySBBeU4AaS0zXZLJowlIiCLk+cmLqg== X-Received: by 2002:a05:620a:f02:b0:47d:8329:282c with SMTP id v2-20020a05620a0f0200b0047d8329282cmr8780117qkl.355.1645337223662; Sat, 19 Feb 2022 22:07:03 -0800 (PST) Received: from localhost (c-73-125-98-51.hsd1.fl.comcast.net. [73.125.98.51]) by smtp.gmail.com with UTF8SMTPSA id f16sm3023865qkl.52.2022.02.19.22.07.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 19 Feb 2022 22:07:03 -0800 (PST) From: Philip McGrath Date: Sun, 20 Feb 2022 01:06:07 -0500 Message-Id: <20220220060610.178131-13-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220220060610.178131-1-philip@philipmcgrath.com> References: <20220208151316.1897345-1-philip@philipmcgrath.com> <20220220060610.178131-1-philip@philipmcgrath.com> 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" 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=1645337332; 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=4ShzeyZsRCigfyxoFD7aYzR9LiIx+sSCoyEYRMjDGUo=; b=kURenZu5O8YXmLU1XvPQkn1XPyL+ICJbz7J1PDnyXjiw9c316r2pAFLGNWvJuQ08qKi02B aAFmDBwbYeQ5B/Tr3K6rt3Ae72Rss6nXUHKknBar1DTEQ3s+JI1qGKt0hc53D8P4SgHMa6 SCdQzuSKGC1vmD4GD63+ozbApf6+lIn8HsTt29ngBpcqaI9rz+EHtrNGobZo3SpLBJfCkb FzGZ5YC4SqPcf4O/HkNSChSr/cUCI0ucvPNsOQRpLXS9NSTss7Fim/BaesAqh0ZMsVM2Gx bXsJUHg52oW2v4V/9Xa2Kh86NeSF3+VI67mmWalgmLJ4IIzR0RlL9tKjCFLAMA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645337332; a=rsa-sha256; cv=none; b=BYGLjvl7P8UgoBzKTEPmfpkuyB4RPk9LH2YshJj7MeJWgFrerjvO5byIAC3c+l1A356h/V 3Htpu8/m53MJORqLtCup/OAzW2MUt9SOD8Jwzrs3+8CNNKQfxw8gYOt60V7PzIeRAgnZXV mSmJQpIUfw2LxVoErKPF1PGHzP7sQMrC6zhsqnbykDzBXV/NhExPR8mbzO5h/1cuFZfA0+ kKfV/NvLJMRyg/4OVAGUMwk0fPd1N7coE6dmlmKc7K64vJwvgq8Cy9g5bQIcpbtBwyZ6k6 LymExELW8UvUD+DCKChj7M7IaLzLWF6lzYCk4gB3jPrsJr8kZ7X6mi4dKZE0Rw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=jtW9ysac; 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: 0.87 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=jtW9ysac; 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: DC0F612E56 X-Spam-Score: 0.87 X-Migadu-Scanner: scn1.migadu.com X-TUID: kwgFmQWPyZzj * gnu/packages/chez-and-racket-bootstrap.scm (racket-vm-cs): New variable. --- gnu/packages/chez-and-racket-bootstrap.scm | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/chez-and-racket-bootstrap.scm b/gnu/packages/chez-and-racket-bootstrap.scm index 25f1ff52f8..f8fc4c7ea1 100644 --- a/gnu/packages/chez-and-racket-bootstrap.scm +++ b/gnu/packages/chez-and-racket-bootstrap.scm @@ -515,6 +515,50 @@ (define-public racket-vm-bc This package is the normal implementation of Racket BC with a precise garbage collector, 3M (``Moving Memory Manager'')."))) + +(define-public racket-vm-cs + (package + (inherit racket-vm-bc) + (name "racket-vm-cs") + (inputs + (modify-inputs (package-inputs racket-vm-cgc) + (prepend zlib lz4) + (delete "libffi"))) + (native-inputs + (modify-inputs (package-native-inputs racket-vm-cgc) + (delete "libtool") + (prepend chez-scheme-for-racket + chez-nanopass-bootstrap + racket-vm-bc))) + (arguments + (substitute-keyword-arguments (package-arguments racket-vm-cgc) + ((#:phases those-phases #~%standard-phases) + #~(modify-phases #$those-phases + (add-after 'unpack 'unpack-nanopass+stex + (lambda args + (with-directory-excursion "racket/src/ChezScheme" + #$unpack-nanopass+stex))))) + ((#:configure-flags _ '()) + #~(cons* "--enable-csonly" + "--enable-libz" + "--enable-lz4" + (string-append "--enable-scheme=" + #$(this-package-native-input + "chez-scheme-for-racket") + "/bin/scheme") + #$(racket-vm-common-configure-flags))))) + (synopsis "Racket CS implementation") + (description "The Racket CS implementation, which uses ``Chez Scheme'' as +its core compiler and runtime system, has been the default Racket VM +implemetation since Racket 8.0. It performs better than the Racket BC +implementation for most programs. + +Using the Racket VM packages directly is not recommended: instead, install the +@code{racket-minimal} or @code{racket} packages.") + ;; https://download.racket-lang.org/license.html + ;; The LGPL components are only used by Racket BC. + (license (list license:asl2.0 license:expat)))) + ;; ;; Chez Scheme: ;; -- 2.32.0