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

feat: adds support for M1 macbooks to curl installer #978

Closed
wants to merge 1 commit into from

Conversation

EverlastingBugstopper
Copy link
Contributor

@EverlastingBugstopper EverlastingBugstopper commented Feb 19, 2021

M1 macbooks can run x86_64 code in emulation mode! this PR adds support for detecting if a machine is an M1 macbook, and then directs them towards the x86_64-apple-darwin binary in both the curl installer and the npm installer :)

@chriskrycho
Copy link

Wouldn't it be preferable to just pre-build for M1? That's quite doable now (though it may require switching to GitHub Actions a la #947). See for example the commit adding support for Arm Mac builds on Volta.

@EverlastingBugstopper
Copy link
Contributor Author

this would be the easiest lift right now with minimal changes to the code. github actions also only supports macos-11 for preview builds, so switching to github actions at this time is not feasible.

unfortunately i think that by default, big sur requires that binaries be signed or they'll be SIGKILLed by gateway. i haven't included that work in this PR.

@EverlastingBugstopper
Copy link
Contributor Author

should merge #1000 instead of this

@drager drager deleted the avery/m1-curl-installer branch June 17, 2023 10:54
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.

2 participants