I'm reaching out about an estimated ETA for Apple M1 support. I hear that there isn't yet a Haskell compiler for Apple Silicon. Any rough ideas about when this might be expected?
I'm reaching out about an estimated ETA for Apple M1 support. I hear that there isn't yet a Haskell compiler for Apple Silicon. Any rough ideas about when this might be expected?
Last I saw, someone had gotten ghc built for the platform in December. I suppose there will be other toolchain changes needed but that seems fairly promising.
Hello,
Is there any updates on this? I am using an Apple M1 Silicon and I am blocked in all my projects because I cannot install git-annex on my computer. Do you have an approximate idea of when this would be available for Apple M1 Silicon users?
Thank you,
Seeing some strange things lately, I believe it started after updating to macOS 11.3. Some git annex commands work fine (like
git annex àdd
or copying to a remote), others (likegit annex sync
, the webapp) throw errors like this:I'm using
8.20210331-g1fb59a63a
from the .dmg provided here. I realize it's a bit of a hack setup so I haven't really investigated much yet, just wondering if someone knows what may be going on.Update: To me, this seems to be related to Apple's System Integrity Protection somehow, maybe related to the OS upgrade.
Manually whitelisting the entire contents of the application package under "Full Disk Access" seemed to help, at first. But then various commands were still a no-go, as per above. Perhaps because some of the tooling overlap with Homebrew etc.
Maybe if I was just using the webapp I could try again and reinstall everything, but as my needs are more specific I eventually gave up and will wait for proper support. Shouldn't be too far off now.
Thanks, but it's still not working for me (tried twice):
But perhaps a bottle is not that far away now.
brew install --build-from-source git-annex
took around 25 minutes on M1 Pro (10 core) and passedgit annex test
.Not working for me. Cabal runs for a while, then it error out complaining about magic and c libraries for magic. I can't find any source of this magic. I've installed Haskell-stack, and a lot of other things I'll never use. I just need git-annex
Nixpkgs has great support for aarch64-darwin. git-annex is working perfectly fine.
https://nixos.org/download.html#nix-install-macos
If you want to use cabal to build git-annex, you need to follow the instructions. Specifically, fromsource which has a cabal section, which documents using "-magicmime" specifically to avoid such a build failure.