-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
TSC Discussion: Default Homebrew flavour on Apple Silicon #9110
Comments
Has there been any testing of Rosetta on Apple Silicon? Does it all Just Work or is there any user-intervention required? Until we have an answer to that: I'm not sure how we can discuss further. Locking to restrict discussion to maintainers. |
Yes, briefly. Last time I checked, it worked just fine. There are also several reports in the Homebrew thread on Apple’s restricted Universal Quickstart forum of several people successfully using Homebrew that way, and no complaints so far. For a brief period back in early July, when Homebrew crashed on native Apple Silicon, running Terminal.app in Rosetta became a staple trick that people passed around to make Homebrew running at all.
As we change the installer, we’re going to have to build a flavour check into the brew executable so it will later always launch Ruby under the proper architecture.
I disagree on that point. I think we can (and should) discuss the matter even with the limited information we have. If we don’t act, people are going to have a mix-and-match Homebrew starting next week. Any decision we make will be a net positive compared to that. A TSC decision would also help us maintainers focus on which flavour to focus our tests as the first batch arrives. In particular, I’d like to know which flavour to install at
I appreciate your help in protecting the discussion. I’m not sure you’re aware that locking the issue disables reactions, which feels rather weird. No one has made an unsolicited comment so far so I think re-enabling reactions would be helpful for the TSC to make their decision and for other participants. We can always re-lock if any unwanted comments appear. |
Note: Just got word that Rosetta isn’t enabled by default on retail Apple Silicon Macs. Update: We could of course simply ask the user to install Rosetta. |
From my experience with this kind of thread, it sometimes attracts a bunch of unrelated comments and questions that "pollute" the discussion. I think it is fine to lock the thread for maintainers only. We can discuss things transparently here, without interference from random opinions. I am in favour of discussing parts of the things here instead of our internal Slack channels, which is not visible by the community. Our users can still post and comment to https://github.com/homebrew/discussions/discussions or open a new issue. Regarding the decisions: I need to read more about the different options and think about it. I can't vote on this right now, because I need to pick up the subject :) So this will need more time on my side. |
@iMichka Fair enough. Let’s keep the thread locked, then. |
Note: I am not a member of the TSC, and so cannot vote on a TSC decision. I am a member of the PLC. My opinion follows.
Intel, until the overwhelming majority of formulae have bottles for ARM
I tend towards 👎 and the user can install Homebrew on native ARM in a different non-
👍 Instructions to install Homebrew on native ARM should be documented. |
|
I've opened PRs to handle this based on the discussion here and in Slack: Please review ASAP (if you're interested) as these need to land before Big Sur is released. |
Here is my vote and final thoughts: When run on a native Apple Silicon shell, should the Homebrew installation command-line result in the Intel flavour of Homebrew to be installed or the ARM flavour? (Please answer Intel, ARM, or Abstain.) -> ARM flavour. No support for that on day one. The same holds for later bottle installs: Support for ARM native installs and builds can be enabled by setting HOMEBREW_DEVELOPER, and this as soon as possible, to let people test it. Just to be clear: I took this decision based on the information I had, and I hope I did not misunderstood the situation. |
Don't even need to set this (but it will shut up various warnings) to test but just need to use one of our documented "alternate installs" (as per any other unsupported installation configurations). |
I misread this question. Running the installation script on a native ARM Apple Silicon shell should produce an error message, instructing the user to run it in a Rosetta shell. Eventually it would install Homebrew on native ARM, once native ARM is supported by Homebrew with CI and bottles. |
I believe this issue was resolved? PR Homebrew/install#373 once it's merged will permit installing Homebrew on native ARM. |
Yes I think there is a good agreement on how to proceed now… CI is in place, bottles are being built. |
Background
Now that the first retail Apple Silicon Macs are being shipped with an estimated arrival date of 2020-11-17, early adopters are going to install Homebrew. I’d like for the @Homebrew/tsc members to discuss and decide which default flavour the Homebrew installer is supposed to choose when run from a native Apple Silicon shell.
Assumptions
To keep the discussion focused, I propose a few assumptions I’ve harvested from several Slack discussions. I’d like to encourage you to work with those assumptions but feel free to challenge them if you strongly disagree.
My assumptions are:
Call for decisions
Given the above assumptions, I’d like for the TSC members to discuss the following decisions:
When run on a native Apple Silicon shell, should the Homebrew installation command-line result in the Intel flavour of Homebrew to be installed or the ARM flavour? (Please answer Intel, ARM, or Abstain.)
Now assume we’ve decided on the Intel flavour in the previous question. Should the Homebrew installer offer a user-facing command-line switch that allows the user to override that decision and install the experimental ARM flavour of Homebrew? (Please answer 👍, 👎 or Abstain.)
Now assume the decision on the previous question to be 👍. Should our instructions on https://docs.brew.sh/Installation mention that command-line switch? (Please answer 👍, 👎 or Abstain.)
Of course, opinions and answers are going to change over time as ARM flavour support matures. Therefore, I’m looking for short-term answers only.
Thanks in advance, fellow maintainers.
Thanks to @SMillerDev for bringing up the question on Slack.
@Homebrew/maintainers: feel free to discuss along.
The text was updated successfully, but these errors were encountered: