-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chez-racket: init at 2021-12-11 #131833
chez-racket: init at 2021-12-11 #131833
Conversation
Result of 1 package built successfully:
4 suggestions:
Result of 1 package built successfully:
|
62cb748
to
9bd49e9
Compare
Bump |
9bd49e9
to
c8819b0
Compare
I've fixed all the problems and in the process also added support for cross-compilation! |
1f68904
to
089beca
Compare
Result of 1 package built:
|
Package builds for aarch64-darwin but does not run:
|
I made an issue upstream: racket/ChezScheme#43 |
Result of 1 package built:
|
Result of 1 package built:
|
Result of 1 package built:
|
Everything builds and runs on x86_64-darwin and aarch64-darwin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
[nix-shell:~/.../nixpkgs-review/pr-131833-1]$ scheme
Chez Scheme Version 9.5.7.2
Copyright 1984-2021 Cisco Systems, Inc.
> (define (fact n) (if (= n 0) 1 (* n (fact (- n 1)))))
> (fact 6)
720
It appears all four platforms work, so I'm going to merge this. |
Motivation for this change
This is basically Chez Scheme but better, notably it supports aarch64-linux (and likely aarch64-darwin too!).
This can be used to make Idris 2 work on more platforms with its Chez Scheme backend, albeit it is not done in this PR.
Things done
I've added
chez-racket
as a separate directory with its own files, since it's a permanent fork.The only common part is the setup hook.
It would be great if someone on
aarch64-darwin
could test this.sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)