-
Notifications
You must be signed in to change notification settings - Fork 47
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
Use aarch64
packages on ARM-based CPUs
#126
Use aarch64
packages on ARM-based CPUs
#126
Conversation
💚 CLA has been signed |
This change ensures that on ARM-based macs, the `aarch64` packages are used, leading to better performance, less resource utilization and better battery usage. Closes elastic#89
533c855
to
057661a
Compare
Just now noticed there's an update script that would break, but I don't immediately have a great fix for that: https://github.com/elastic/homebrew-tap/blob/main/.ci/update.sh |
I think I've resolved the issue with multi-arch updates. It's a bit tricky, and it triggers downloads twice (but the second is just to confirm that the package installs correctly, which I think is still a good test). |
03cf5a8
to
26c630f
Compare
@mgreau sorry for pinging you directly but would you mind reviewing this? 🙏 |
If there's interest for this from Elastic, let me know, happy to rebase, otherwise I'll close this PR and keep using my fork personally. |
At least as a user this would be greatly appreciated. Current situation makes it unfeasible to manage ES installation with Homebrew, as the x86 version is so much slower on a M1 Mac. |
Sorry for the radio silence here and thanks for your effort here @jeroenvisser101. 🙏 We discussed this topic internally and unfortunately, we are not going to support Homebrew for the 8+ versions (neither update the current mechanism) to focus on the developer experience based on Elastic containers where we introduced multi-architecture images back in 2020. I will update the README and clarify the situation in this repository soon.
@mpenttila have you considered using our containers images? |
@mgreau Thanks for the update! It's a shame, especially with Docker for Mac becoming harder to use without their subscriptions, but I understand, feel free to close :) |
Understandable, thanks for the reply as well!
Yeah, I have used them, and they work fine. I just prefer to avoid the extra overhead of using Docker for Mac. |
This change ensures that on ARM-based macs, the
aarch64
packages areused, leading to better performance, less resource utilization and
better battery usage.
Closes #89