[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#53878] Fwd: Re: [PATCH v3 14/15] gnu: chez-and-racket-bootstrap: Ad
From: |
Philip McGrath |
Subject: |
[bug#53878] Fwd: Re: [PATCH v3 14/15] gnu: chez-and-racket-bootstrap: Add 'chez-scheme-for-system'. |
Date: |
Sat, 19 Feb 2022 17:34:30 -0500 |
(sorry, missed "reply all" ...)
---------- Forwarded Message ----------
Subject: Re: [PATCH v3 14/15] gnu: chez-and-racket-bootstrap: Add 'chez-
scheme-for-system'.
Date: Saturday, February 19, 2022, 5:29:05 PM EST
From: Philip McGrath <philip@philipmcgrath.com>
To: Liliana Marie Prikler <liliana.prikler@gmail.com>
Hi,
On Saturday, February 19, 2022 3:00:37 PM EST you wrote:
> Am Samstag, dem 19.02.2022 um 01:42 -0500 schrieb Philip McGrath:
> > +(define* (chez-scheme-for-system #:optional
> > + (system (or (%current-target-
> > system)
> > + (%current-system))))
> > + "Return 'chez-scheme' unless only 'chez-scheme-for-racket'
> > supports SYSTEM,
> > +including support for native threads."
> > + (if (and (nix-system->chez-machine system)
> > + (not (and=> (chez-upstream-features-for-system system)
> > + (cut memq 'threads <>))))
> > + chez-scheme-for-racket
> > + chez-scheme))
>
> Given your previous explanation this series looks clean enough so far,
> but this looks like a bug. You probably want
> (if (and (nix-system->chez-machine system)
> (and=> (chez-upstream-features-for-system system)
> (cut memq 'threads <>)))
> chez-scheme
> chez-scheme-for-racket)
> This variant would in particular use chez-scheme-for-racket if nix-
> system->chez-machine returns #f.
>
> I can make that adjustment for you assuming I interpreted this
> correctly.
Thanks for catching this! I must have gotten myself confused while changing to
chez-upstream-features-for-system from the chez-machine->upstream-restriction
version.
-Philip
-----------------------------------------
signature.asc
Description: This is a digitally signed message part.
- [bug#53878] [PATCH v3 09/15] gnu: Add racket-vm-cgc., (continued)
[bug#53878] [PATCH v3 11/15] gnu: Add chez-scheme-for-racket., Philip McGrath, 2022/02/19
[bug#53878] [PATCH v3 04/15] gnu: chez-and-racket-bootstrap: Add utilities for Chez machine types., Philip McGrath, 2022/02/19
[bug#53878] [PATCH v3 08/15] gnu: chez-scheme: Explicitly package bootstrap bootfiles., Philip McGrath, 2022/02/19
[bug#53878] [PATCH v3 13/15] gnu: chez-mit: Support chez-scheme-for-racket., Philip McGrath, 2022/02/19
[bug#53878] [PATCH v3 14/15] gnu: chez-and-racket-bootstrap: Add 'chez-scheme-for-system'., Philip McGrath, 2022/02/19
[bug#53878] [PATCH v3 15/15] gnu: racket: Update to 8.4., Philip McGrath, 2022/02/19
[bug#53878] Fwd: Re: [PATCH v3 14/15] gnu: chez-and-racket-bootstrap: Add 'chez-scheme-for-system'.,
Philip McGrath <=
[bug#53878] Fwd: Re: [PATCH v3 09/15] gnu: Add racket-vm-cgc., Philip McGrath, 2022/02/19
[bug#53878] [PATCH v4 00/15] Update Racket to 8.4. Adjust Chez Scheme packages., Philip McGrath, 2022/02/20
- [bug#53878] [PATCH v4 02/15] gnu: chez-scheme: Use "lib/chez-scheme" for search path., Philip McGrath, 2022/02/20
- [bug#53878] [PATCH v4 04/15] gnu: chez-and-racket-bootstrap: Add utilities for Chez machine types., Philip McGrath, 2022/02/20
- [bug#53878] [PATCH v4 06/15] gnu: Add stex., Philip McGrath, 2022/02/20
- [bug#53878] [PATCH v4 03/15] gnu: chez-scheme: Use shared zlib and lz4., Philip McGrath, 2022/02/20
- [bug#53878] [PATCH v4 01/15] gnu: chez-scheme: Move to (gnu packages chez-and-racket-bootstrap)., Philip McGrath, 2022/02/20
- [bug#53878] [PATCH v4 05/15] gnu: chez-scheme: Use new package style., Philip McGrath, 2022/02/20
- [bug#53878] [PATCH v4 07/15] gnu: Add chez-nanopass., Philip McGrath, 2022/02/20