asdf-crystal icon indicating copy to clipboard operation
asdf-crystal copied to clipboard

on arm it downloads the x86 version...

Open gled-rs opened this issue 4 years ago • 2 comments

Results in an error .asdf/installs/crystal/0.33.0/bin/shards: cannot execute binary file: Exec format error

Can be reproduce on raspberry pi...

gled-rs avatar Feb 26 '20 01:02 gled-rs

I'm pretty sure I can fix it relatively quickly, but I don't have the bandwidth to handle this right now, could you wait a little longer? If the response is slow, don't hesitate to ping as needed. or, if you open a PR, I will take the time to review it.

smorimoto avatar Feb 28 '20 05:02 smorimoto

it should be pretty easy to check that platform is either x86 or x86_64, but installing the arm version may be more difficult given that they do not distribute a binary for it.

After a bit of research it seems like cross compilation is needed for it to work.

Maybe a pre-compiled/cross-compiled version could be distributed here as a bootstrap and then used to compile the latest version from source ?

gled-rs avatar Feb 29 '20 01:02 gled-rs