Closed jc0b closed 2 years ago
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.
os.uname()[4]
Instead, we just search the uname string provided by os.uname()[3], and lowercase it to match existing data.
os.uname()[3]
I have tested this with the arm64 and x86_64 strings, but I don't have a physical machine to test i386 with 😅
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 😅