Skip to content
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

WIP: support for MacOSX arm64 #154

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Conversation

michaelw
Copy link

This change is meant as a RFC to enable MacOS arm64 homebrew, based on other work (from datty/puppet-homebrew-1)

@alvagante
Copy link

@michaelw you are my hero.
This MR works perfectly for me (tested on a M1, haven't checked on an Intel Macs for backwards compability)

@TheKevJames
Copy link
Owner

TheKevJames commented May 25, 2022

Hi @michaelw -- thanks for tackling this issue! I just merged #155 for handling the /usr/local -> /opt/homebrew change. It looks like you've got a few more improvements in here, such as HOMEBREW_CHANGE_ARCH_TO_ARM. Could you please rebase onto the newly merged code with whichever extras are valuable here?

Homebrew dirs permissions and puppet-lint fixes
```
Running `brew update --auto-update`...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).

You have 34 outdated formulae and 3 outdated casks installed.
You can upgrade them with brew upgrade
or list them with brew outdated.

Error: Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew)!
To rerun under ARM use:
    arch -arm64 brew install ...
To install under x86_64, install Homebrew into /usr/local.
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants