-
-
Notifications
You must be signed in to change notification settings - Fork 662
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
Support for ARM64 version #414
Comments
It looks like rust-cross can help with cross-compiling for ARM — the next time I make a new release I’ll see what I can do. |
I'm was looking for a version to run on my RBPi 3B+. I boot up a Ubuntu Docker Image(
The binary will be in
Hope it helps. |
Came here looking for an ARM release for the Pinebook Pro. I'll try compiling it tomorrow. |
Easier method using @messense docker images for cross compiling: # Clone exa
cd /tmp && git clone https://github.com/ogham/exa.git && cd exa
# Build using Cocker
docker run --rm -it -v "$(pwd)":/home/rust/src \
messense/rust-musl-cross:armv7-musleabihf \
cargo build --release --no-default-features --features "default" |
@0x3333 I just tried that on my RasPi and got this:
Any idea what's going here? Has anybody got a static binary compiled on ARM that they could share? |
@eggbean, my command is to cross-compile exa for Pi on an x86 machine... I just run it and it worked flawless.
|
Thanks, I misread. I didn't even realise that was possible. Cheers. |
@eggbean, yes I do have it... |
@eggbean if you're looking for an armhf binary, it is actually available in debian repositories, although the version that they have is 0.8.0-2. For arm64 I had to compile it myself. I did it on a target machine and it worked, but I forgot to save the deb package that I made with cargo deb |
@ickam Cross-compiling it using the method 0x3333 explained worked fine. Cheers. |
@ickam When I tired compiling using cargo on an aarm64 AWS graviton cloud instance it ended with this error.
Does anybody know how to deal with this or have a compiled arm64 binary of the latest version of exa? |
I tried cross-compiling using the method with the docker containers mentioned earlier and got this error:
|
You’re using a version of Rust that is too old (it’s been added in 1.45.0).
See #887 for compilation problems on ARM. |
Perhaps the build system from these rust packages could help:
|
I think I’m gonna merge my fix for arm architectures and see later for the CI, thanks for the references, this will help immensely to learn how to use GitHub Actions properly for that! |
Microsoft has a cross-platform builder for ripgrep, maybe that will be helpful: |
|
exa already supports ARM64, you need to built it yourself from master tho. Or, since exa is unmaintained (see #1243), try the the active fork eza instead. I’ve «saved» the link with other projects building executable by posting it there: https://github.com/orgs/eza-community/discussions/186#discussioncomment-6949239 |
Could you provide an ARM64 version in a next release ?
Thanks.
The text was updated successfully, but these errors were encountered: