Skip to content

Commit

Permalink
Accept arm64 as an alias for aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
bobrik committed Feb 28, 2021
1 parent ae2ad6b commit 54c32da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpuinfo/cpuinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ def _parse_arch(arch_string_raw):
arch = 'X86_64'
bits = 64
# ARM
elif re.match(r'^armv8-a|aarch64$', arch_string_raw):
elif re.match(r'^armv8-a|aarch64|arm64$', arch_string_raw):
arch = 'ARM_8'
bits = 64
elif re.match(r'^armv7$|^armv7[a-z]$|^armv7-[a-z]$|^armv6[a-z]$', arch_string_raw):
Expand Down

0 comments on commit 54c32da

Please sign in to comment.