From patchwork Sun Feb 20 06:06:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 432 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 E59DB27BBF3; Sun, 20 Feb 2022 06:08:37 +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 0525027BBF0 for ; Sun, 20 Feb 2022 06:08:35 +0000 (GMT) Received: from localhost ([::1]:59842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLfOc-0006Wl-4Q for patchwork@mira.cbaines.net; Sun, 20 Feb 2022 01:08:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLfO7-00060F-4H for guix-patches@gnu.org; Sun, 20 Feb 2022 01:08:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37084) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nLfO6-00048n-Lp for guix-patches@gnu.org; Sun, 20 Feb 2022 01:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nLfO6-0005X4-Hn; Sun, 20 Feb 2022 01:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53878] [PATCH v4 10/15] gnu: Add racket-vm-bc. 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:02 +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?Co?= =?utf-8?q?urt=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.164533722920875 (code B ref 53878); Sun, 20 Feb 2022 06:08:02 +0000 Received: (at 53878) by debbugs.gnu.org; 20 Feb 2022 06:07:09 +0000 Received: from localhost ([127.0.0.1]:59198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLfNF-0005QS-9l for submit@debbugs.gnu.org; Sun, 20 Feb 2022 01:07:09 -0500 Received: from mail-qv1-f53.google.com ([209.85.219.53]:44030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLfN6-0005MV-UN for 53878@debbugs.gnu.org; Sun, 20 Feb 2022 01:07:01 -0500 Received: by mail-qv1-f53.google.com with SMTP id a28so23837745qvb.10 for <53878@debbugs.gnu.org>; Sat, 19 Feb 2022 22:07:00 -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=y+yoZnYl3IB/Of4LNVvAXjiqsOHhxeGWBrHaGyTiB88=; b=UEEceUAVsl1wTU8a3dt5ShEpfv1bva2TDRYO2wdRj+KKskZS3XtD0XP+mabxkQlxU1 92anabS3j8rG06u6iMG3dz+TCvh5JCpM4nt9O0+U9XQQNr0xW3fPRaWPWIoA+eVo0MCW zXsWZ6O6mphueL//DY2CtSzceSTYTyxqtqph/+3Pct31/uAWOXgMwAMIYNNswSGVr0z9 +OjKCY0CARBPork/XJglc8whYW870O3d4PW8DinQRbR102wPUBOfGIn8m1bgUWOSh0+h T03+JeK5EweEIqw/x12P1l8n4eOg0rzwkVPUFdmkRJHcvoXHUJ2ko5oxzk3aswZ11Pww WBBw== 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=y+yoZnYl3IB/Of4LNVvAXjiqsOHhxeGWBrHaGyTiB88=; b=BZGuAlz42m96h7jMV9Ec9NsBJLGwoegtDOr5RDIrMIs2BZS48jzAVQXf+Dc2i/dFLf BOLbVwofUlFNoDcxN7avtNwsW5BhlQZyDlJcW35/LF81ZEnXXXh+ejTxiDe2cdKL8tO5 LS2ZpfKRuL5o1bk+VhveTwq4OnxQPBLt8qT/fvXCtUeR/DvnLb3aPAMjba7LjtqWowJc O/xnedKL9qMllxhyEwCZH+AOMQUstrIJUSj0nD+yjy9bRK7cWWBKSNaryLUxc7E1BM5h Eo9xH/LMoKJjOKELBuTQKCvBX3l0P7ewHxBtrOmsJcpWMBos7YVjmIi/SzZMLzw5Qb/m ub/Q== X-Gm-Message-State: AOAM532EhEtpzRp55J3jo0ZrSMQ5wn/nuz9PTYf7JI7p3ECyW8rFIgqN T79OZq3g9S4zVERyInLctFFSo4uqSA/Tk7E9fTQ= X-Google-Smtp-Source: ABdhPJxt7R/bNvrQG7fNTqNN2GJd9KGJjT70G92PWSk5vAS/Hez7QFWWET+ZU6d1fq8En6BBLnT+gw== X-Received: by 2002:ac8:4b61:0:b0:2d1:cfc7:2989 with SMTP id g1-20020ac84b61000000b002d1cfc72989mr13062339qts.416.1645337215439; Sat, 19 Feb 2022 22:06:55 -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 h21sm5953391qtm.23.2022.02.19.22.06.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 19 Feb 2022 22:06:55 -0800 (PST) From: Philip McGrath Date: Sun, 20 Feb 2022 01:06:05 -0500 Message-Id: <20220220060610.178131-11-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 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 c99b8ff19e..2f649fe67f 100644 --- a/gnu/packages/chez-and-racket-bootstrap.scm +++ b/gnu/packages/chez-and-racket-bootstrap.scm @@ -475,6 +475,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: ;;