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

More encompassing approach for Mac M1 chips #516

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JewlsIOB
Copy link

@JewlsIOB JewlsIOB commented Jun 6, 2022

On a Mac architecture, platform.processor may return i386 even when on a Mac M1. The code below should be more accurate. See stack overflow comment, another stack overflow comment and stack overflow post for some more information / validation that the uname approach is more all encompassing.

I was personally running into this problem and the following fix solved it for me.

This PR is a slightly edited solution to what is contained in #485 with many thanks to @netj for getting this started.

@JewlsIOB JewlsIOB changed the title More accurate approach to whether Mac is using ARM More accurate approach for Mac M1 chips Jun 6, 2022
@JewlsIOB JewlsIOB changed the title More accurate approach for Mac M1 chips More encompassing approach for Mac M1 chips Jun 6, 2022
@atwoodjw
Copy link

atwoodjw commented Nov 4, 2022

@searchivarius Any chance we might see this PR incorporated soon? 🙇

@searchivarius
Copy link
Member

yes

@kratman
Copy link

kratman commented Dec 21, 2022

@searchivarius Is there anything preventing this PR from being merged?

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.

None yet

4 participants