Skip to content
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

on arm it downloads the x86 version... #20

Open
gled-rs opened this issue Feb 26, 2020 · 2 comments
Open

on arm it downloads the x86 version... #20

gled-rs opened this issue Feb 26, 2020 · 2 comments

Comments

@gled-rs
Copy link

gled-rs commented Feb 26, 2020

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...

@smorimoto
Copy link
Member

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 smorimoto added the bug label Feb 28, 2020
@gled-rs
Copy link
Author

gled-rs commented Feb 29, 2020

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 ?

@smorimoto smorimoto removed the bug label Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants