Open jsynacek opened 1 year ago
Thanks for reporting this! To set expectations:
Finally, please be patient with the core team. They are trying their best with limited resources.
I just tried to compile the project using docker on a Debian arm64 VM (M1 MacBook) with no luck. I am not familiar with Haskell so I wasn't able to do more
Have you tried installing via nix? That has worked for me on arm64 (pinebook) but not specifically an M1.
@jsynacek if you've not seen it already, I built linux_arm64 binaries and Simon has made them available with @lydell/elm
: https://github.com/elm/compiler/pull/2287
Any updates to this? :)
@alshdavid you can find linux-arm64 binaries here: https://github.com/lydell/compiler/releases/tag/0.19.1
Is there a way to tell the install script for the elm
package not to download the binaries?
https://github.com/elm/compiler/blob/master/installers/npm/download.js#L27
It seems npm install elm
will fail when running on Linux arm, even if the binaries are supplied externally, because the script will fail to match the permitted platforms.
@alshdavid If you go to https://github.com/elm/compiler/pull/2287 and scroll to the end of the PR description and expand “Aside about unsupported platforms” you can see how the discussion went about that.
Quick Summary: Please, provide a binary that can be used in a linux container running on an Apple Silicon (arm64) host.
Currently, the binary asset binary-for-linux-64-bit.gz is usable, but it's really slow and can't be used if elm is specified as a project dependency:
SSCCE
Additional Details
See also https://github.com/elm/compiler/pull/2234.