-
Notifications
You must be signed in to change notification settings - Fork 379
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
Unable to install Idris 2 with Home-brew on M1 MacBook (2021) #2404
Comments
tells me this is a homebrew error and so should be reported there. As for the build from source, we'd need to know what the errors are to provide help. |
Fair enough, but can we keep this open for a little while to see if any others have the same issue? Apple Silicon is practically synonymous with build errors so I don't know if this is a local or general issue. I'll try build with source again and get the errors later! |
@Mithaecus have you seen #2233 (comment) You need to use the Racket fork of Chez Scheme |
The homebrew formula lives at https://github.com/Homebrew/homebrew-core/blob/master/Formula/idris2.rb Chez doesn't support Apple Silicon yet but there is a draft PR. cisco/ChezScheme#607 |
@michaelmesser Thanks, I hadn't seen #2233 but it worked correctly. Add |
It may be possible to modify the formula to use the Racket fork of Chez scheme on ARM. I don't know if there is a formula for the Racket fork of Chez. |
Racket's fork of Chez Scheme used to work with Idris 2. The Nix expression still uses it, but it broke. I propose switching the version of Chez Scheme used to Racket's fork for all platforms. |
I think it would be preferable to get chez-scheme upstream to integrate the aarch64 support from the racket fork. See: cisco/ChezScheme#545 and cisco/ChezScheme#544 |
Note that Mac ChezCheme PR was merged; see cisco/ChezScheme#545 (comment) This now can be done I suppose |
I am following the Idris2 documentation to install Idris on a MacBook M1 Pro 2021 laptop (macOS Monterey v12.2.1) using
brew install idris2
. I am seeing the following error:I have tried installing with
--build-from-source
however that throws other errors and the docs don't mention this method so I assume it's not necessary to debug further.Let me know if I can provide any further information!
The text was updated successfully, but these errors were encountered: