Skip to content

Commit

Permalink
check for aarch64 as well as ARM when determing CPU type in lscpu
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Pastrick authored and LiliDeng committed Dec 29, 2022
1 parent eba6978 commit a6328f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisa/tools/lscpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def get_cpu_type(self, force_run: bool = False) -> CpuType:
return CpuType.AMD
elif "GenuineIntel" in result.stdout:
return CpuType.Intel
elif "ARM" in result.stdout:
elif "ARM" in result.stdout or "aarch64" in result.stdout:
return CpuType.ARM
else:
raise LisaException(
Expand Down

0 comments on commit a6328f9

Please sign in to comment.