From patchwork Thu Feb 17 20:50:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 37299 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 935AE27BBEA; Thu, 17 Feb 2022 20:53:54 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 5F18727BBE9 for ; Thu, 17 Feb 2022 20:53:54 +0000 (GMT) Received: from localhost ([::1]:36704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKnmj-0007NS-Fn for patchwork@mira.cbaines.net; Thu, 17 Feb 2022 15:53:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKnlv-0006le-S2 for guix-patches@gnu.org; Thu, 17 Feb 2022 15:53:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58909) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nKnlv-0001dA-H5 for guix-patches@gnu.org; Thu, 17 Feb 2022 15:53:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nKnlv-0003a6-GH for guix-patches@gnu.org; Thu, 17 Feb 2022 15:53:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53878] [PATCH v2 10/15] gnu: Add racket-vm-bc. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 17 Feb 2022 20:53: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 Cc: Philip McGrath , zimoun , Ludovic =?utf-8?q?Court=C3=A8s?= , Liliana Marie Prikler , Attila Lendvai , Malte Gerdes Received: via spool by 53878-submit@debbugs.gnu.org id=B53878.164513114413634 (code B ref 53878); Thu, 17 Feb 2022 20:53:03 +0000 Received: (at 53878) by debbugs.gnu.org; 17 Feb 2022 20:52:24 +0000 Received: from localhost ([127.0.0.1]:52789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKnlH-0003Xo-SR for submit@debbugs.gnu.org; Thu, 17 Feb 2022 15:52:24 -0500 Received: from mail-vs1-f49.google.com ([209.85.217.49]:37517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKnl7-0003Ws-Rd for 53878@debbugs.gnu.org; Thu, 17 Feb 2022 15:52:14 -0500 Received: by mail-vs1-f49.google.com with SMTP id t22so7722233vsa.4 for <53878@debbugs.gnu.org>; Thu, 17 Feb 2022 12:52:13 -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=xiJ1uhj9bLPjhTnXSqjLzmCiEo+fJYoycLYcK5E5rFg=; b=IPulhSAnEM+KOXjCRitlWVlxd7qXUDtOaIoSNteb4YWgQmyVN6Y6wpZNEWKLJX38Yd E7SwqC84V9WzgsBNdHgrpLJmlrLrxp5q4gatsgIN50ES4o2Bd/huw7wg+bHf3qeprMzT SbI5lfDQND8drA6OMSHbAQdBQVgYtVt1sGSY38DmpWIT6nQ7uUSIKRrsXkkm3X6b0kFN LihdBRzzyHngahRk/a8b/ueFxsui6i3tEYwQRwG60UDEFsK4qR4QsSCKbt1poCSnzvL7 LcUyAmZLSO1pOTaH/KcKagXh4S8b4hqdCadVR5FnKUn/Rl4Sd22S23SE9evWPCw+aj6n KO3Q== 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=xiJ1uhj9bLPjhTnXSqjLzmCiEo+fJYoycLYcK5E5rFg=; b=qd/hRZTkLk3kCk3GD8tlL5fdI1WSaKsUo73zHbXpjnfbkA39250Dq9i2sfQjLFpY9Q uVa8uB8UdCZcGriQZ5+v8kFZ2vQFmvBFMQNio2IgjLEEaKOFJvtSac/sBAzEzdBEdb0N DzpYw83bhzwI+A5jHzlfj/Ou2gcEt1Z9EJPC6/jA3tEDBQtmFo4ejs1RhnhJ8fYCGM0j rzdH4dnVFUzQB5N3t/QwSAEv9m0ZAZQ9nQGdgnp8jLDzyn/WilSwaNuAgFlry6q4weqa 3FHHA/EeIsH0ES2Hw3GRHNvraerAI6cE+dHq6AJIJgs95io8bdgeThYNrH1dsVB7DLqt EwsA== X-Gm-Message-State: AOAM530U6fV7vFbL79l2WAbP23SCS8ZIMsvPbxmHU5LjcMNsOSFs444C A6D4FAxadP/ZIe5j+Ych7ILkMN+Trdr2ccgiAIo= X-Google-Smtp-Source: ABdhPJwMmuijtlKKEd4//AOrgV4rA9fpeyDT6BRKii3TtNj0OpDrokVfhkDIMhqizg+Q6d9apxwu+A== X-Received: by 2002:a67:d589:0:b0:31b:5561:b18e with SMTP id m9-20020a67d589000000b0031b5561b18emr2074581vsj.53.1645131128098; Thu, 17 Feb 2022 12:52:08 -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 r26sm4421804uaw.12.2022.02.17.12.52.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Feb 2022 12:52:07 -0800 (PST) From: Philip McGrath Date: Thu, 17 Feb 2022 15:50:43 -0500 Message-Id: <20220217205048.967383-11-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220217205048.967383-1-philip@philipmcgrath.com> References: <97f8916ae5bd8d8459bdfd507864f2f55cc217a1.camel@ist.tugraz.at> <20220217205048.967383-1-philip@philipmcgrath.com> 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/chez-and-racket-bootstrap.scm (racket-vm-bc): New variable. --- gnu/packages/chez-and-racket-bootstrap.scm | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/chez-and-racket-bootstrap.scm b/gnu/packages/chez-and-racket-bootstrap.scm index 0dd5f4bb68..dc87e090cb 100644 --- a/gnu/packages/chez-and-racket-bootstrap.scm +++ b/gnu/packages/chez-and-racket-bootstrap.scm @@ -474,6 +474,29 @@ (define maybe-release-catalog ;; The LGPL components are only used by Racket BC. (license (list license:lgpl3+ license:asl2.0 license:expat))))) +(define-public racket-vm-bc + (package + (inherit racket-vm-cgc) + (name "racket-vm-bc") + (native-inputs + (modify-inputs (package-native-inputs racket-vm-cgc) + (prepend racket-vm-cgc))) + (arguments + (substitute-keyword-arguments (package-arguments racket-vm-cgc) + ((#:configure-flags _ '()) + #~(cons "--enable-bconly" + #$(racket-vm-common-configure-flags))))) + (synopsis "Racket BC [3M] implementation") + (description "The Racket BC (``before Chez'' or ``bytecode'') +implementation was the default before Racket 8.0. It uses a compiler written +in C targeting architecture-independent bytecode, plus a JIT compiler on most +platforms. Racket BC has a different C API and supports a slightly different +set of architectures than the current default runtime system, Racket CS (based +on ``Chez Scheme''). It is the recommended implementation for architectures +that Racket CS doesn't support. + +This package is the normal implementation of Racket BC with a precise garbage +collector, 3M (``Moving Memory Manager'')."))) ;; ;; Chez Scheme: ;;