Skip to content

Commit

Permalink
Merge pull request #16437 from p-linnane/m3-cpu-spec
Browse files Browse the repository at this point in the history
test/hardware/cpu_spec: add M3 values
  • Loading branch information
p-linnane committed Jan 6, 2024
2 parents 6f20c03 + f63b089 commit 3821fab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
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 @@ -116,6 +116,8 @@ def arm_family
when 0x72015832 # ARMv8.6-A (M3 Max, Palma)
:arm_palma
else
# When adding new ARM CPU families, please also update
# test/hardware/cpu_spec.rb to include the new families.
:dunno
end
end
Expand Down
4 changes: 3 additions & 1 deletion Library/Homebrew/test/hardware/cpu_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@
:amd_k12,
:arm,
:arm_blizzard_avalanche,
:arm_everest_sawtooth,
:arm_firestorm_icestorm,
:arm_hurricane_zephyr,
:arm_ibiza,
:arm_lightning_thunder,
:arm_lobos,
:arm_monsoon_mistral,
:arm_palma,
:arm_twister,
:arm_typhoon,
:arm_vortex_tempest,
Expand Down

0 comments on commit 3821fab

Please sign in to comment.