-
Notifications
You must be signed in to change notification settings - Fork 107
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
Building on M1 Mac #1247
Comments
Thanks for the issue! I got a new Apple M1 laptop recently, ran into all the build issues mentioned above. After a day of debugging, I'm close to getting Dex to build on Apple M1:
Current status: upgrading to GHC 9.2.7 has resulted in some dex-lang compilation errors, probably due to language changes:
I'll plan to follow-up here within a week. If the final fixes aren't too tricky, I should be able to share a pull request with instructions. |
In-progress fix at #1264. Dex builds on Apple M1 and simple examples run! Requires LLVM 15: |
Just wanted to leave a few notes on building the project on an M1 Mac (aarch64) should you decide to support the architecture in the future:
ghcup
to download a Stack that builds for the appropriate architecture (required for llvm-hs)/opt/homebrew/include
so it requires an additional wildcard check in makelts-18.23
for M1, (see here) - I tried upgrading to a later version of GHC but I don't know enough about this project or Haskell build in general to fix the dependency chainsJust posting this in case it helps someone else or I missed something, as I would like to return to the project and look for possible contributions once it is working.
The text was updated successfully, but these errors were encountered: