From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sIePGqeUEGIUigAAgWs5BA (envelope-from ) for ; Sat, 19 Feb 2022 07:56:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gC5hE6eUEGLSCQEAG6o9tA (envelope-from ) for ; Sat, 19 Feb 2022 07:56:39 +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 D28991BEB4 for ; Sat, 19 Feb 2022 07:56:38 +0100 (CET) Received: from localhost ([::1]:44840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLJfZ-00031H-Kw for larch@yhetil.org; Sat, 19 Feb 2022 01:56:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLJTW-00072s-Rw for guix-patches@gnu.org; Sat, 19 Feb 2022 01:44:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34631) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nLJTU-00083S-4s for guix-patches@gnu.org; Sat, 19 Feb 2022 01:44:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nLJTU-0004oF-3l for guix-patches@gnu.org; Sat, 19 Feb 2022 01:44:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53878] [PATCH v3 12/15] gnu: Add racket-vm-cs. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 19 Feb 2022 06:44:08 +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 Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Attila Lendvai , Philip McGrath , Malte Gerdes , zimoun Received: via spool by 53878-submit@debbugs.gnu.org id=B53878.164525304418425 (code B ref 53878); Sat, 19 Feb 2022 06:44:08 +0000 Received: (at 53878) by debbugs.gnu.org; 19 Feb 2022 06:44:04 +0000 Received: from localhost ([127.0.0.1]:56751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLJTP-0004mx-W8 for submit@debbugs.gnu.org; Sat, 19 Feb 2022 01:44:04 -0500 Received: from mail-qv1-f42.google.com ([209.85.219.42]:43865) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLJTF-0004lJ-HN for 53878@debbugs.gnu.org; Sat, 19 Feb 2022 01:43:53 -0500 Received: by mail-qv1-f42.google.com with SMTP id a28so19184521qvb.10 for <53878@debbugs.gnu.org>; Fri, 18 Feb 2022 22:43:53 -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=ammk7t6plnGExrICIZoTKxUS5p9fSg2qR68wsjVECDY=; b=XPwqnWue/+Razx2GNDuKfTh+3ZmrsYdfzC7CNGaLcK+GLY2DbywVbQEah3HaJyA6Md JoN7cMQfUOoysbklzPlNKOreXc5NodRjNLatWS5D11rkySmtAdXgXiwvLjo+7v/3hhni hLO1x4eU6F6aFRgtIAgmNiGbK2KLNJWsVYi1k+R2qSb2+9h/ItQWueDDltIeNyNi4qCu XGTUZo3S1q1HhrQZtEWcO8gSjkOOqihdwBPSFQ1xuR9qV1atuH5cfdO53rUgQFKpMBDM 6OrWj+8eV5Oaw8o50RDV1yysEkFVn2Va/xDndP9IuR3ug1FQ8TjFnugntmEm6Hsy0awo EoJA== 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=ammk7t6plnGExrICIZoTKxUS5p9fSg2qR68wsjVECDY=; b=rmcMytXInB2q9lyxh12uPQf7Yjm4gfAauOFK9wMV3zcYGion4r044Q0RgDASZeyPXM ry/OSRtT/xwBV88xzO1sKIRXOw6+a/zRHFWH9bv7dyHgOb+Wqg8FAlEtC4VNaQ1nBx9f FA8AuC+sdpfmOV0CXSayJCUHtW54W43FkxVni1EmGhu71vUEKSeOlRRqat3py0wHB6aV TaTTW82e6Wy51J81+F3ypmXrl1AlrW2MbuFxGYKiq2UElqUguSuHLdKls7Iuyl4oT3Hx EAl3x/KOl35rsDSNdxtAosS15k2TGZh91NrKx7gsbAFjIkvJu9oZDsxyfjhJQzLIS93k vdGQ== X-Gm-Message-State: AOAM531FASZ0OPz/xeeXEpAPzblKgK4w7jBJKYjgNhUbdNLzvXPTqqL4 v5Slrwl5XPJhIjMVQ9dOI2EWKzGQ1TZ4oyzXs+8= X-Google-Smtp-Source: ABdhPJy7l4zimGTHKEgV+2Cr3KO6u1bHkiMEtSttwEKPfIwpyAUNxlP9jA0cEQ15oMmIfYPitSa15A== X-Received: by 2002:ac8:5a14:0:b0:2d3:a280:9f3d with SMTP id n20-20020ac85a14000000b002d3a2809f3dmr10004444qta.503.1645253028050; Fri, 18 Feb 2022 22:43:48 -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 x3sm21338084qkp.54.2022.02.18.22.43.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Feb 2022 22:43:47 -0800 (PST) From: Philip McGrath Date: Sat, 19 Feb 2022 01:42:25 -0500 Message-Id: <20220219064228.246917-13-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220219064228.246917-1-philip@philipmcgrath.com> References: <20220208151316.1897345-1-philip@philipmcgrath.com> <20220219064228.246917-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=1645253798; 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=ammk7t6plnGExrICIZoTKxUS5p9fSg2qR68wsjVECDY=; b=C7yxIAbU/B7JTM3TkgQh0MMtMensk9qtclubeHa4o+HUdJY59yo9zmDQ6HLMRcgv04OhFc Tr3n2NjTy2SVLR+yITeClEaGRuIE3MX/ijRlBqY4KB8mUAHHW1xe9SHC1bDyk7gyuLhYLP j9AYXmxkEIvNqJNmu2H1zxE3f5YOvwCX525QbEuZWlfRBMXfBF4m1W+SntguxOFLvDhNx0 O1MXlJo3aLLQtSDMPAIyfFFSy5e3cB41gm2VFi6J9R1N+i9YwnyDbRfiqsn+wd1riCO9hY b7AASLzbF82UZGIQHXMwBttiCr40Q0OyoGLfX9IOqF5sz77/j3GvfVmm9Ak33w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645253798; a=rsa-sha256; cv=none; b=sAzquD9Bao7HqNw0yrz2ghgshc6gKNYAp6g7z4jOn0itKDM4Qty9SFCOI9fq841N2DUunL tnC2dOY1iGkNiozvEisuub1+GFBA9Y/tmGX2fPyIaJILFBwS6L7PhfWaTjoaI7WAqjFf28 So37IQ9yHf10SZuiLOQY40GOVAFUfhD8Xs9qC/N9wRDFuVUo/CvsesR8vH65gyv0qpa4Zx JvNHv7AU8nRvQRDH3SOm1j7//yI/cO3ut5QOrq+SgGAPpNdMrAJVAaXOtqt9fBT59bJ5WD FdAzyQOjpvDweRmaDfc0YzcXEfRAKfO+IytFTTBlnYLj9yZ775bfftIuW/Baqg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=XPwqnWue; 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.37 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=XPwqnWue; 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: D28991BEB4 X-Spam-Score: 0.37 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0WBYVTXhTPJW * 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 6eddc46e66..458645f037 100644 --- a/gnu/packages/chez-and-racket-bootstrap.scm +++ b/gnu/packages/chez-and-racket-bootstrap.scm @@ -517,6 +517,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