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

Updated method to get CPU arch to get it from the full uname string #1482

Closed
wants to merge 1 commit into from

Conversation

jc0b
Copy link

@jc0b jc0b commented Sep 2, 2022

This PR changes how the main runner grabs the CPU arch, as using os.uname()[4] is unreliable when used with Rosetta 2 on Apple Silicon.

Instead, we just search the uname string provided by os.uname()[3], and lowercase it to match existing data.

I have tested this with the arm64 and x86_64 strings, but I don't have a physical machine to test i386 with 😅

@tuxudo
Copy link
Contributor

tuxudo commented Mar 6, 2023

Superseded by PR #1498

@bochoven
Copy link
Contributor

Already merged in 5.x

@bochoven bochoven closed this Jun 18, 2023
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