-
Notifications
You must be signed in to change notification settings - Fork 363
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 Apple Silicon/ARM64 #484
Comments
Hi @johnalanwoods, the honest answer here is that I do not know what I would need to do to go about this! (I am a mac user but not Silicon/ARM). Maybe someone can chime in here who knows what if anything it's appropriate to do currently, or whether we just wait for developments. cc @MarcoIeni I noticed that when the latest release of delta went up on homebrew yesterday that the homebrew maintainers checked whether it would build on ARM, and that it didn't work: Homebrew/homebrew-core#68056 (comment). Quick googling brings up actions/runner#805 and rust-lang/rust#73908. |
@dandavison - thanks for the quick reply. No probs I'll see what I can do to try and get it building... also it's such a great project thanks for your creation. @MarcoIeni - quick question, do you think this is something that will resolve as Rust support matures or do you have any pointers I can investigate? |
Have you tried with rust 1.49? See here. Anyway, we are relying on cross for cross compilation. So when it will support M1 we will add it to Continuous Deployment and the binary will be in releases. |
Unfortunately, homebrew did not work
|
Sorry for late reply! Yep I see this too. Can build manually using cargo. Maybe an issue with the brew formula? |
Hi @domoritz @johnalanwoods, see #487 and 5b627ce. It looks like I have a bad workflow which is resulting in Cargo.lock becoming stale. Do tell me if you have recommendations for what my workflow should be! |
@dandavison I think all we need is a new release with an updated cargo.lock file. I think its easy to update using cargo update. |
@johnalanwoods thanks, do you know what the workflow should be? I.e. When ought I to run |
Thanks for quick reply @dandavison. I'll defer if I may to @carlocab on that... @carlocab, do you know when best to run update? |
@johnalanwoods I've released 0.5.1 with the update |
@dandavison - nope I think that's everything, thanks! |
delta successfully built on the ARM runner: https://github.com/Homebrew/homebrew-core/pull/68333/checks?check_run_id=1650854158 |
Oh, and as for |
Thanks all, will close this issue as soon as I see git-delta work through normal brew install. |
@johnalanwoods git-delta PR has been merged. Do Oh, and if you have time to chip In at Homebrew/homebrew-core#68301, it'd be much appreciated. |
@carlocab , @dandavison working perfectly on ARM!: @carlocab will take a look at the issue you linked, happy to help. |
I don't know much about rust/cross but would it now be possible to generate an Apple Silicon binary in the CD system and add the binary to future releases? |
Yeah, I can look at it this week 👍 |
Hi @MarcoIeni, nice to hear from you -- thanks! |
Is there any plan to support Apple Silicon/ARM64?
Thanks
Building with Cargo 1.48.0 I get:
warning: error: unknown target triple 'unknown-apple-macosx11.0.0', please use -triple or -arch
The text was updated successfully, but these errors were encountered: