From 559d0a91a28b40e6e2c6d2dcf00b14cfdf7989d4 Mon Sep 17 00:00:00 2001 From: Claudia Date: Mon, 6 Jul 2020 20:28:10 +0200 Subject: [PATCH] Add CPU family ARMv8.3-A Darwin 20 adds the CPU family `CPUFAMILY_ARM_VORTEX_TEMPEST` (aka ARMv8.3-A), which is assigned the identifier of `0x07d34b9f`. This is relevant for `SystemConfig` in Homebrew. See also: https://en.wikipedia.org/wiki/Comparison_of_ARMv8-A_cores --- Library/Homebrew/extend/os/mac/hardware/cpu.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/extend/os/mac/hardware/cpu.rb b/Library/Homebrew/extend/os/mac/hardware/cpu.rb index fad0ba4ce5..03269d48fd 100644 --- a/Library/Homebrew/extend/os/mac/hardware/cpu.rb +++ b/Library/Homebrew/extend/os/mac/hardware/cpu.rb @@ -21,8 +21,6 @@ module Hardware end def family - return :dunno if arm? - case sysctl_int("hw.cpufamily") when 0x73d67300 # Yonah: Core Solo/Duo :core @@ -48,6 +46,8 @@ module Hardware :kabylake when 0x38435547 # Ice Lake :icelake + when 0x07d34b9f # ARMv8.3-A (Vortex, Tempest) + :arm_vortex_tempest else :dunno end