Merge pull request #1694 from rwhogg/add-kabylake
Add Kaby Lake to Linux hardware list
This commit is contained in:
commit
758de6b454
@ -47,6 +47,8 @@ module Hardware
|
|||||||
:haswell
|
:haswell
|
||||||
when 0x3d, 0x47, 0x4f, 0x56
|
when 0x3d, 0x47, 0x4f, 0x56
|
||||||
:broadwell
|
:broadwell
|
||||||
|
when 0x8e
|
||||||
|
:kabylake
|
||||||
else
|
else
|
||||||
cpu_family_model
|
cpu_family_model
|
||||||
end
|
end
|
||||||
|
@ -8,7 +8,7 @@ class HardwareTests < Homebrew::TestCase
|
|||||||
|
|
||||||
if Hardware::CPU.intel?
|
if Hardware::CPU.intel?
|
||||||
def test_hardware_intel_family
|
def test_hardware_intel_family
|
||||||
families = [:core, :core2, :penryn, :nehalem, :arrandale, :sandybridge, :ivybridge, :haswell, :broadwell, :skylake, :dunno]
|
families = [:core, :core2, :penryn, :nehalem, :arrandale, :sandybridge, :ivybridge, :haswell, :broadwell, :skylake, :kabylake, :dunno]
|
||||||
assert_includes families, Hardware::CPU.family
|
assert_includes families, Hardware::CPU.family
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user