aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/os/mac/hardware.rb2
-rw-r--r--Library/Homebrew/test/test_hardware.rb2
2 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac/hardware.rb b/Library/Homebrew/os/mac/hardware.rb
index d4ce7a7e2..df1f7fab6 100644
--- a/Library/Homebrew/os/mac/hardware.rb
+++ b/Library/Homebrew/os/mac/hardware.rb
@@ -48,6 +48,8 @@ module MacCPUs
:haswell
when 0x582ed09c # Broadwell
:broadwell
+ when 0x37fc219f # Skylake
+ :skylake
else
:dunno
end
diff --git a/Library/Homebrew/test/test_hardware.rb b/Library/Homebrew/test/test_hardware.rb
index 7d1a256a9..d38c74df6 100644
--- a/Library/Homebrew/test/test_hardware.rb
+++ b/Library/Homebrew/test/test_hardware.rb
@@ -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