Skip to content
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

aarch64 not using binary cache #2290

Open
SeungheonOh opened this issue Dec 9, 2024 · 5 comments
Open

aarch64 not using binary cache #2290

SeungheonOh opened this issue Dec 9, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@SeungheonOh
Copy link

I tried to use haskell.nix with my aarch64 machine. However, it attempts to build ghc no matter what version I try. More interestingly, when I try to use GHC966, it builds GHC 966 with GHC964 that it pulled from some binary cache, and when I try to use GHC964, it builds GHC 964 with GHC966 that it got from somewhere.

My question is, do we have aarch64_linux ghc in iog binary cache? and if yes, how can I make it use the pulled ghc instead of building it from scratch

@SeungheonOh SeungheonOh added the bug Something isn't working label Dec 9, 2024
@SeungheonOh
Copy link
Author

Also, it would be immensely helpful to have a way to figure out what version of GHC is currently available in binary cache.

@SeungheonOh
Copy link
Author

SeungheonOh commented Dec 9, 2024

Oh, I just realized aarch64 is not run by ci. Disabled here. Maybe we can enable that?

@hamishmack
Copy link
Collaborator

We don't have an aarch64-linux server right now. @angerman is looking into maybe running linux on an apple silicon Mac.

@SeungheonOh
Copy link
Author

That would be very helpful. Thanks.

Besides, cross compilation from x86_64-linux to aarch64-linux is not difficult at all. If there are performant enough ci machines, this might also be feasible.

@SeungheonOh
Copy link
Author

Update: I successfully built GHC966 via haskell.nix. Works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants