diff options
| author | enami tsugutomo | 2015-04-24 15:27:38 +0900 |
|---|---|---|
| committer | Mike McQuaid | 2015-04-24 18:26:42 +0100 |
| commit | 0b4379e04983f76721df32436c6be1a70e075df6 (patch) | |
| tree | 329c17432473fd7d516490521ca9174b33240533 /Library | |
| parent | da9e4812051866f740a24cc47aca0acce0798900 (diff) | |
| download | brew-0b4379e04983f76721df32436c6be1a70e075df6.tar.bz2 | |
hardware: correctly detect early 2015 MacBook Pro.
Closes Homebrew/homebrew#38996.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -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 |
