os/mac/hardware: add Skylake CPU.
Closes Homebrew/homebrew#48781. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
051cd36046
commit
37e423ebb2
@ -48,6 +48,8 @@ module MacCPUs
|
|||||||
:haswell
|
:haswell
|
||||||
when 0x582ed09c # Broadwell
|
when 0x582ed09c # Broadwell
|
||||||
:broadwell
|
:broadwell
|
||||||
|
when 0x37fc219f # Skylake
|
||||||
|
:skylake
|
||||||
else
|
else
|
||||||
:dunno
|
:dunno
|
||||||
end
|
end
|
||||||
|
|||||||
@ -7,7 +7,7 @@ class HardwareTests < Homebrew::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_hardware_intel_family
|
def test_hardware_intel_family
|
||||||
families = [:core, :core2, :penryn, :nehalem, :arrandale, :sandybridge, :ivybridge, :haswell, :broadwell]
|
families = [:core, :core2, :penryn, :nehalem, :arrandale, :sandybridge, :ivybridge, :haswell, :broadwell, :skylake]
|
||||||
assert_includes families, Hardware::CPU.family
|
assert_includes families, Hardware::CPU.family
|
||||||
end if Hardware::CPU.intel?
|
end if Hardware::CPU.intel?
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user