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

Add Apple Silicon support #162

Open
bobrik opened this issue Mar 6, 2021 · 2 comments
Open

Add Apple Silicon support #162

bobrik opened this issue Mar 6, 2021 · 2 comments

Comments

@bobrik
Copy link
Contributor

bobrik commented Mar 6, 2021

#161 fixes a crash and a test, but it would be nice to have actual support for Apple Silicon.

$ sysctl machdep.cpu
machdep.cpu.cores_per_package: 8
machdep.cpu.core_count: 8
machdep.cpu.logical_per_package: 8
machdep.cpu.thread_count: 8
machdep.cpu.brand_string: Apple M1
  • CPU architecture: aarch64
  • Operating System: macOS Big Sur
  • Python version: 3.8.8
  • Version of py-cpuinfo: 7.0.0
@chadbrewbaker
Copy link

This is also barfing under docker. Anyone able to dump /proc/cpuinfo under Ashanti Linux? Based on that it should be a lookup table keyed by machdep.cpu.brand_string.

@thomwiggers
Copy link

Dr-Noob/cpufetch#139 contains some information about what sysctl outputs; it seems the cpu flags are fetched differently.

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

No branches or pull requests

3 participants