Skip to content

Use GHC 8.10.7 for basic M1 support #64

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

damien-biasotto
Copy link

@damien-biasotto damien-biasotto commented Dec 29, 2021

I'd like the help of anyone with M1 hardware and Haskell knowledge. I was trying to address issue #63 but in all honesty, I'm out of my depth.

The haskellings binary is successfully compiling, but any commands (but help) will hang, and the memory consumption for the process will start increasing. So far only M1 machines are affected. (It works well on my Linux x64 machine).

EDIT:
So it does not hang, but it is hella slow (surely because ghc 8.10.7 support for AArch64 is basic (not native)):

running haskellings version command on M1:

→ time /nix/store/n3cajvdc6iklh5kcqs7ih6brpydnkj6a-haskellings-0.9.1.0/bin/haskellings version                                                                                                    [94c7336]
0.9.1.0
 version  52.08s user 106.05s system 255% cpu 1:01.89 total

running haskellings version command on my linux:

[nix-shell:~/Code/Perso/Haskell/haskellings]$ time /nix/store/wps8lj22p54g1iz1hwb1nldyywxl7vbb-haskellings-0.9.1.0/bin/haskellings version
0.9.1.0

real	0m0.163s
user	0m1.333s
sys	0m1.355s

@damien-biasotto damien-biasotto changed the title WIP - Use GHC 8.10.7 for basic M1 support Use GHC 8.10.7 for basic M1 support Jan 28, 2022
@damien-biasotto damien-biasotto force-pushed the improvements/add-support-for-M1 branch from 94c7336 to d5f404b Compare January 28, 2022 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant