Skip to content

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?

@ezfe
Copy link

ezfe commented Jul 1, 2025

Just checking if there's any update on this

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.

5 participants