Arm64: Don't fall back to native

In the case of Arm64, make sure not to fallback to native if we hit an
unsupported CPU.
Can cause issues depending on system configuration.
This commit is contained in:
Ryan Houdek committed 2021-10-21 20:39:49 -07:00
1 parent e9937d9a85
commit 0bfc1bbe70
2 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -60,8 +60,8 @@ with open(sys.argv[1]) as cpuinfo_file:
current_part = int(re.findall(r'0x[0-9A-F]+', line, re.I)[0], 16)
cpuinfo += {tuple([current_implementer, current_part])}
largest_big = "native"
largest_little = "native"
largest_big = "cortex-a57"
largest_little = "cortex-a53"
for core in cpuinfo:
if BigCoreIDs.get(core):