From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 kNDAHwS2DmLZtQAAgWs5BA (envelope-from ) for ; Thu, 17 Feb 2022 21:54:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6OGqHAS2DmIghAAAauVa8A (envelope-from ) for ; Thu, 17 Feb 2022 21:54:28 +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 2879B3814E for ; Thu, 17 Feb 2022 21:54:28 +0100 (CET) Received: from localhost ([::1]:37708 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKnnH-0008BK-CQ for larch@yhetil.org; Thu, 17 Feb 2022 15:54:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKnlw-0006o1-KJ for guix-patches@gnu.org; Thu, 17 Feb 2022 15:53:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58911) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nKnlw-0001dU-92 for guix-patches@gnu.org; Thu, 17 Feb 2022 15:53:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nKnlw-0003aL-8U for guix-patches@gnu.org; Thu, 17 Feb 2022 15:53:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53878] [PATCH v2 12/15] gnu: Add racket-vm-cs. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 17 Feb 2022 20:53:04 +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.164513114513648 (code B ref 53878); Thu, 17 Feb 2022 20:53:04 +0000 Received: (at 53878) by debbugs.gnu.org; 17 Feb 2022 20:52:25 +0000 Received: from localhost ([127.0.0.1]:52793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKnlI-0003Xy-Np for submit@debbugs.gnu.org; Thu, 17 Feb 2022 15:52:25 -0500 Received: from mail-ua1-f45.google.com ([209.85.222.45]:43909) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKnlG-0003XO-4Z for 53878@debbugs.gnu.org; Thu, 17 Feb 2022 15:52:22 -0500 Received: by mail-ua1-f45.google.com with SMTP id w37so1324217uad.10 for <53878@debbugs.gnu.org>; Thu, 17 Feb 2022 12:52:22 -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=42QC9hhqnYID4Uah/W7fmaJRGRfkU/rRtTS9pgrC2hE=; b=WJoshlQGxdL8ZHs5uoAd+7fzcHhm4vcjO2WPf/heJSD2n5bfWdSrj3eF1NTE1QQscb hqOkiQl9D0uUeJDC5PN2EfnXFNeolR6wR2L1rtuyDMhANHt6lFKLctIJAAoDedYEO7KR lMM9jWagLDte+f7Imvc/S92oKsarc6VCl38kbziTNQsp2svK7JHR3E28yxsrg+b5LZKY lLaaFkCtMJXiWFBmyYTF1OJKPePyDrKKQtzPL1lEgj3dc+BHxedSFh2g9c7wZxoNySeM mgoETFlWn3P53OZliYCecwvevCxUzw2ytbqCsfOzYmccAII+u/Tn0yktTvskmO5NyWuh Qtfw== 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=42QC9hhqnYID4Uah/W7fmaJRGRfkU/rRtTS9pgrC2hE=; b=OF7nx4ap1zFIjK5sq+OgcSOJrzoFHamYpptiNbSwpQ24K0yXnfnCL4xcDwH6Cz+ZBH r74+DuM3Oj24tva/YUHINBt+zUM7JwZkd3vtbicjOOKT0eFMIh/69m7Hwy3ZUUf5Yx1d 9zysoTbZCUZ5oLsqj8MttPH5Aipbj19cnZ1fMwUremyeKYuC+TunCZqhCiHwzNiaHZxD XIxe4aYAPAKYzyT6E373NnMGxPzcoZTnyx85+m2pgf3vEdAgkdir3Td6MLFu/Z8ETS46 nRCdWO1A+RFp6oadbAGqmzVGMGkDcPh1btMui9xnAAz7+hG1v4A/MNUxd5B6rSqAkzh/ GEWg== X-Gm-Message-State: AOAM531HQn/jL7sWLQQ4UT/KqU4jTqbVvDbOU/LqXjRxzO3ztgKykWEK T4Msv7BuldH/TNIcIncP7ItP1FvnWCvJPuaApvA= X-Google-Smtp-Source: ABdhPJyxpzXXrF2HOMxfvbDN0Mt23pT+QIj4ZGIhwWDfyTLBySkXNmKrO/iA7xCSCFMZoP2YjZUGkQ== X-Received: by 2002:a9f:202c:0:b0:341:8a70:bccc with SMTP id 41-20020a9f202c000000b003418a70bcccmr292672uam.137.1645131136600; Thu, 17 Feb 2022 12:52:16 -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 z62sm6987786vkg.43.2022.02.17.12.52.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Feb 2022 12:52:16 -0800 (PST) From: Philip McGrath Date: Thu, 17 Feb 2022 15:50:45 -0500 Message-Id: <20220217205048.967383-13-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 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=1645131268; 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=42QC9hhqnYID4Uah/W7fmaJRGRfkU/rRtTS9pgrC2hE=; b=kuM+yOpe4LDaKGT4b83s5Qfl25+D9UvvLFAtlfz8Y0qBZmThD6E9d/uqMzsEgkz0to/pJp zDYxH2JXGkB9rx6wGzJ1IsrjCeuOEnx2cg+ty7SIs6Eq5yYSIZSTPoQShkTjBs17deKzox sxWgWbkoFa66X/SyC7KdxNYMK+n6/kChNhrMkQvhy97pc/QgSSIemHQJXHlnNyc6oJI3F5 l4sZh26rYbmVNeMaFLhwzWr4IBrnP81N1CFVTJ7NE/w5/iP8mpFC1jTtvzAeRlif1GaD9c /H0vn2HxJo6WzrFI0ISLhlSZ1sToxrCUvAqxU/e6+LUjth90LaoQ5ps+hqWhQg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645131268; a=rsa-sha256; cv=none; b=uto+rgotHm3u1Fgq1R15ciAJMwo7A712s623CDrmXNdt/5IW21F+71Ky0yCzDrXYdLGUL1 cQHrjCZrKesQ1L997wvw9Fzs8pUwHj1/KtyFKx5ovSGY8u9yukSvv3olHEQHScMJnodWUa A+3ExfqEqB/jxX95GYKHFni4/VdLwNixYInGazzLdUYuNsVMUw4CpKE/JU0y4ATBrEGcsH jF16ZeBZioDrt08WOJTcF7QZ866HiysuMSMlIxrX0V4a6fawC21rt6k/JtUFoVJEnc5Pa0 XC1RRI36jgzrRCtBQXZrTaXAROogkQGKfE+maBcnhf1j11h2aEjtsLBm2qAbmA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=WJoshlQG; 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.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=WJoshlQG; 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: 2879B3814E X-Spam-Score: -0.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4/dOSc6phOaN * 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 dea49b7e89..aa0eab4646 100644 --- a/gnu/packages/chez-and-racket-bootstrap.scm +++ b/gnu/packages/chez-and-racket-bootstrap.scm @@ -510,6 +510,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