From c7b49d5cad063d1a8d91d4abeb729a9a89d3dc10 Mon Sep 17 00:00:00 2001 From: Kiracus Date: Sat, 16 Nov 2024 09:28:44 -0800 Subject: [PATCH] cpu.rb: add Apple M4 --- Library/Homebrew/extend/os/mac/hardware/cpu.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Homebrew/extend/os/mac/hardware/cpu.rb b/Library/Homebrew/extend/os/mac/hardware/cpu.rb index 35fe32d11684c..8f2c80c03ab6f 100644 --- a/Library/Homebrew/extend/os/mac/hardware/cpu.rb +++ b/Library/Homebrew/extend/os/mac/hardware/cpu.rb @@ -127,6 +127,8 @@ def arm_family :arm_lobos when 0x72015832 # ARMv8.6-A (M3 Max, Palma) :arm_palma + when 0x6f5129ac # ARMv9.2-A (M4, Donan) + :arm_donan else # When adding new ARM CPU families, please also update # test/hardware/cpu_spec.rb to include the new families.