-
Notifications
You must be signed in to change notification settings - Fork 8
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
Test on Apple M1 silicon #379
Comments
had to change some stuff in the build process. Should have documented what I did :P but I think I remember most of it and will write down. |
Noticed a problem that actonc might get killed by something. It appears to happen if I rebuild actonc. I needed to do that a few times when I updated paths to lib directories. Had to do a make clean && make to fix it. |
First of all, stack must be installed with Without --HEAD, stack just complains and says it cannot install ghc for architecture aarch64. |
Interesting (or not really)... I tried rebuilding and I got a segfault from stack:
|
When stack crashes as per above, I'm logged into my mac mini over SSH. Building in a local terminal works just fine. There are some reports of weird behaviour, like commercialhaskell/stack#5607 where stack crashes when run from zsh. I am using zsh (it is standard in new Mac OS X) in that local terminal and it works. Some comment suggests that it works in some terminal emulators but not others, specifically that iTerm2 works while Terminal does not. I have been using iTerm2. Gosh this is so weird. Anyway, it builds fine using iTerm2 + zsh. |
And just for anyone interested in the speed of M1. On my mac mini M8 with 8 cores, acton builds using This is the original M1 with 16 billion transistors, the M1 max has 57 billion transistors, so that might very well be faster but I suspect most of that is just graphics cores? |
It is not possible to have a Homebrew formula depend on a |
Will it build? Any problems? If successful, we can move to support M1 as a platform I suppose..
The text was updated successfully, but these errors were encountered: