-
Notifications
You must be signed in to change notification settings - Fork 237
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
Native aarch64 support #620
Native aarch64 support #620
Conversation
d3ac22a
to
2f04bf4
Compare
c23f9c3
to
bd3a91b
Compare
Working on rebasing this... |
bd3a91b
to
258c62d
Compare
This looks pretty good, I just wish we had some earlier bootstrap compiler. I'd love to try our 8.6.5 natively on aarch64 with haskell.nix |
dd0e3f6
to
6079f9d
Compare
overlays/haskell.nix
Outdated
@@ -172,7 +172,7 @@ final: prev: { | |||
# Package sets for all stackage snapshots. | |||
snapshots = import ../snapshots.nix { inherit (final) lib ghc-boot-packages; inherit mkPkgSet stackage excludeBootPackages; }; | |||
# Pick a recent LTS snapshot to be our "default" package set. | |||
haskellPackages = snapshots."lts-14.13"; | |||
haskellPackages = snapshots."lts-15.13"; |
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.
I understand the motivation for this, though this should be a separate PR, as it bumps the default compiler in haskell.nix from 8.6 to 8.8.
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.
Would you rather have the LTS major version depend on the target architecture in this PR?
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.
^^^ Went ahead and added this for now.
0e6847b
to
ffcbaf6
Compare
ffcbaf6
to
dec8115
Compare
reduce external dependencies
bors try |
tryBuild failed |
bors try |
tryBuild failed |
bors try |
tryBuild succeeded |
@angerman thanks so much for all your help with aarch64 support! |
* native aarch64 support Co-authored-by: Moritz Angermann <[email protected]>
This will allow haskell.nix to be used for native builds on aarch64. There are a few changes necessary for this: