diff options
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/os/mac/hardware.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/test/test_hardware.rb | 2 | 
2 files changed, 3 insertions, 1 deletions
| diff --git a/Library/Homebrew/os/mac/hardware.rb b/Library/Homebrew/os/mac/hardware.rb index 1113451f3..60de1eba8 100644 --- a/Library/Homebrew/os/mac/hardware.rb +++ b/Library/Homebrew/os/mac/hardware.rb @@ -44,6 +44,8 @@ module MacCPUs          :ivybridge        when 0x10B282DC # Haswell          :haswell +      when 0x582ed09c # Broadwell +        :broadwell        else          :dunno        end diff --git a/Library/Homebrew/test/test_hardware.rb b/Library/Homebrew/test/test_hardware.rb index 9f77349d1..95313583d 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] +    families = [:core, :core2, :penryn, :nehalem, :arrandale, :sandybridge, :ivybridge, :haswell, :broadwell]      assert_includes families, Hardware::CPU.family    end if Hardware::CPU.intel?  end | 
