-
Notifications
You must be signed in to change notification settings - Fork 58
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
#133 breaks tap for Apple Silicon installs #134
Comments
Same problem ( Mac mini M1 8Go )
|
Thank you for the report. AFAICT none of the mentioned products have released compatible (darwin/arm64) builds yet:
So it would make sense for installation of any of these formulas to fail (on M1 Mac). However you are right that tapping should work without any failures. I think we just need to find a way of communicating the (limited) compatibility in a graceful way. |
I've been using https://releases.hashicorp.com/vault/1.6.3/ on Apple Silicon under Rosetta 2 without problem. Maybe just remove the intel check on mac systems? |
Based on some (brief) docs available and spelunking in the Homebrew source code I think something like this should work: depends_on arch: [:x86_64] if OS.mac? or alternatively on_macos do
depends_on arch: [:x86_64]
end However this should probably be inserted only if the formula (product version) being created really doesn't support that architecture. It seems that we do not ingest list of builds or supported OS/architectures on release - but I will let @kpenfound weigh in here as he has far more context. @behe This tap purposefully adheres to the support that the maintaining product teams communicate (unlike the core tap). AFAIK the maintaining teams have yet to test these products under Apple Silicon thoroughly (whether under Rosetta or natively) before committing to supporting it officially. |
Thanks for jumping in @radeksimko , that makes sense. We can add some branching logic to the templating until we have darwin_arm64 support across the board. I'll dig into this today. |
#133 breaks tap for Apple Silicon installs since the hardware is not mac + intel.
The text was updated successfully, but these errors were encountered: