os/mac/hardware: add Skylake CPU.

Closes Homebrew/homebrew#48781.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
ilovezfs 2016-02-03 04:06:08 -08:00 committed by Mike McQuaid
parent 051cd36046
commit 37e423ebb2
2 changed files with 3 additions and 1 deletions

View File

@ -48,6 +48,8 @@ module MacCPUs
:haswell
when 0x582ed09c # Broadwell
:broadwell
when 0x37fc219f # Skylake
:skylake
else
:dunno
end

View File

@ -7,7 +7,7 @@ class HardwareTests < Homebrew::TestCase
end
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
end if Hardware::CPU.intel?
end