[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#57050] [PATCH v3 14/14] gnu: racket: Use Racket CS on all systems.
From: |
Philip McGrath |
Subject: |
[bug#57050] [PATCH v3 14/14] gnu: racket: Use Racket CS on all systems. |
Date: |
Thu, 25 Aug 2022 04:54:16 -0400 |
This patch uses the 'pbarch' support added to 'racket-vm-cs' to make it
the default Racket VM implementation on all systems.
* gnu/packages/racket.scm (racket-vm-for-system): Remove.
(racket-minimal, racket)[inputs]: Replace '(racket-vm-for-system)' with
'racket-vm-cs'.
---
gnu/packages/racket.scm | 20 ++++----------------
1 file changed, 4 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/racket.scm b/gnu/packages/racket.scm
index 2d6bebf10e..16ad6eef8f 100644
--- a/gnu/packages/racket.scm
+++ b/gnu/packages/racket.scm
@@ -128,10 +128,9 @@ (define-module (gnu packages racket)
;; This file defines the packages 'racket-vm-cgc', 'racket-vm-bc', and
;; 'racket-vm-cs'. All three are in-place builds of 'racket/src/' and
;; 'racket/collects/' and are installed to 'opt/racket-vm/' in the store
-;; output. The function 'racket-vm-for-system' returns the recomended Racket
-;; VM package for a given system.
+;; output.
;;
-;; We then define the packages 'racket-minimal' and
+;; Using 'racket-vm-cs', we then define the packages 'racket-minimal' and
;; 'racket'. These use Racket's support for ``layered installations'', which
;; allow an immutable base layer to be extended with additional packages.
;; They use the layer configuration directly provide ready-to-install FHS-like
@@ -192,17 +191,6 @@ (define-module (gnu packages racket)
;;
;; CODE:
-(define* (racket-vm-for-system #:optional
- (system (or (%current-target-system)
- (%current-system))))
- "Return 'racket-vm-cs' if we are able to build it for SYSTEM; 'racket-vm-bc'
-otherwise."
- ;; Once we figure out the issues in https://racket.discourse.group/t/950,
- ;; we can use 'racket-vm-cs' everywhere.
- (if (racket-cs-native-supported-system? system)
- racket-vm-cs
- racket-vm-bc))
-
(define %racket-version "8.6") ; Remember to update chez-scheme-for-racket!
(define %zuo-version "1.0") ; defined in racket/src/zuo/zuo.c
(define %racket-commit
@@ -568,7 +556,7 @@ (define-public racket-minimal
(inputs
(list openssl
sqlite
- (racket-vm-for-system)
+ racket-vm-cs
(racket-packages-origin
"base" %racket-origin
'(("base" "pkgs/base")
@@ -686,7 +674,7 @@ (define-public racket
unixodbc
libedit ;; TODO reconsider in light of expeditor and readline-gpl
racket-minimal ;; <-- TODO non-tethered layer
- (racket-vm-for-system)
+ racket-vm-cs
(simple-racket-origin
"2d" (base32 "0fb5v6058ls08xw3zbmqyr2ym0psm119gl9ffgmhm9w8rs9i4dq7")
'("2d" "2d-doc" "2d-lib"))
--
2.32.0
- [bug#57050] [PATCH v3 08/14] gnu: racket: Update to 8.6., (continued)
- [bug#57050] [PATCH v3 08/14] gnu: racket: Update to 8.6., Liliana Marie Prikler, 2022/08/25
- [bug#57050] [PATCH v3 08/14] gnu: racket: Update to 8.6., Efraim Flashner, 2022/08/25
- [bug#57050] [PATCH v3 11/14] gnu: racket: Support cross-compiling the VM packages., Philip McGrath, 2022/08/25
- [bug#57050] [PATCH v3 09/14] gnu: chez-scheme: Make bootfiles regular inputs., Philip McGrath, 2022/08/25
- [bug#57050] [PATCH v3 12/14] gnu: chez-scheme-for-racket: Suport all systems., Philip McGrath, 2022/08/25
- [bug#57050] [PATCH v3 12/14] gnu: chez-scheme-for-racket: Suport all systems., Liliana Marie Prikler, 2022/08/25
- [bug#57050] [PATCH v3 12/14] gnu: chez-scheme-for-racket: Suport all systems., Efraim Flashner, 2022/08/25
- [bug#57050] [PATCH v3 12/14] gnu: chez-scheme-for-racket: Suport all systems., Philip McGrath, 2022/08/25
- [bug#57050] [PATCH v3 13/14] gnu: racket-vm-bc: Add workaround for ppc64le., Philip McGrath, 2022/08/25
- [bug#57050] [PATCH v3 10/14] gnu: chez-scheme-for-racket: Support cross-compilation., Philip McGrath, 2022/08/25
- [bug#57050] [PATCH v3 14/14] gnu: racket: Use Racket CS on all systems.,
Philip McGrath <=
- [bug#57050] [PATCH v3 14/14] gnu: racket: Use Racket CS on all systems., Liliana Marie Prikler, 2022/08/25
- [bug#57050] [PATCH v3 00/14] gnu: Update Racket to 8.6. Add Zuo., Thiago Jung Bauermann, 2022/08/26
- [bug#57050] [PATCH v4 00/14] gnu: Update Racket to 8.6. Add Zuo., Philip McGrath, 2022/08/27
- [bug#57050] [PATCH v4 02/14] gnu: stex: Fix read-only gifs and math directories., Philip McGrath, 2022/08/27
- [bug#57050] [PATCH v4 05/14] gnu: racket: Adjust patch for "/bin/sh" in rktio., Philip McGrath, 2022/08/27
- [bug#57050] [PATCH v4 06/14] gnu: chez-scheme: Fix use of "/bin/sh"., Philip McGrath, 2022/08/27
- [bug#57050] [PATCH v4 01/14] gnu: stex: Update to 1.2.2-2.afa6075., Philip McGrath, 2022/08/27
- [bug#57050] [PATCH v4 03/14] etc: teams: Add racket team., Philip McGrath, 2022/08/27
- [bug#57050] [PATCH v4 04/14] etc: teams: Add entry for Philip McGrath., Philip McGrath, 2022/08/27
- [bug#57050] [PATCH v4 08/14] gnu: racket: Update to 8.6., Philip McGrath, 2022/08/27