diff options
author | Philip McGrath <philip@philipmcgrath.com> | 2024-04-01 02:51:12 -0400 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-04-11 12:46:31 +0200 |
commit | 9d407205e8e711218e3bfa50ab6e2f55b0df623d (patch) | |
tree | 2ef22878917bc0d11f829b9c7eef955d44b72e91 /COPYING | |
parent | c3930c8bb01e69a21348206b7298c78bc4b06caa (diff) | |
download | guix-9d407205e8e711218e3bfa50ab6e2f55b0df623d.tar.gz guix-9d407205e8e711218e3bfa50ab6e2f55b0df623d.zip |
gnu: chez-scheme: Update and simplify machine-type handling.
Since Chez Scheme 10.0.0 supports all of the backends added in Racket's
branch, the complexity of '%chez-features-table' is no longer needed.
Ideally, even more of this logic could be maintained upstream, but this
change will simplify maintenance in the mean time.
* gnu/packages/chez.scm (target-chez-arch): Recognize loongarch64.
(chez-upsteam-features-for-system): Remove function.
(%chez-features-table): Replace with ...
(define-machine-types, %machine-types): ... this new macro and variable,
using the list copied directly from the Chez Scheme source code.
(nix-system->pbarch-machine-type): Update docstring, since pbarch
machine types are supported upstream as of Chez Scheme 10.0.0.
(racket-cs-native-supported-system?): Replace with ...
(nix-system->native-chez-machine-type): ... this new function,
implemented using '%machine-types'.
(chez-scheme-for-racket): Update accordingly.
(chez-scheme-for-racket-bootstrap-bootfiles): Likewise.
* gnu/packages/racket.scm (racket-vm-cs): Likewise.
Change-Id: I46efebaf48cce388075ab4873c16a6f5f9692bb7
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions