Skip to content

Commit

Permalink
Merge pull request #18885 from Homebrew/m4-max-cpufamily
Browse files Browse the repository at this point in the history
os/mac/hardware/cpu: add M4 Pro/Max
  • Loading branch information
MikeMcQuaid authored Dec 6, 2024
2 parents c3a6fa5 + 64edbe6 commit 1065b55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Library/Homebrew/extend/os/mac/hardware/cpu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ def arm_family
:arm_palma
when 0x6f5129ac # ARMv9.2-A (M4, Donan)
:arm_donan
when 0x17d5b93a # ARMv9.2-A (M4 Pro / M4 Max, Brava)
:arm_brava
else
# When adding new ARM CPU families, please also update
# test/hardware/cpu_spec.rb to include the new families.
Expand Down
1 change: 1 addition & 0 deletions Library/Homebrew/test/hardware/cpu_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
:amd_k12,
:arm,
:arm_blizzard_avalanche,
:arm_brava,
:arm_donan,
:arm_firestorm_icestorm,
:arm_hurricane_zephyr,
Expand Down

0 comments on commit 1065b55

Please sign in to comment.