diff options
| author | Jack Nagel | 2014-03-10 15:26:19 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-10 15:26:36 -0500 |
| commit | 4ba3d2dd25ac2df8e10d2ca94825cf70d20c2c31 (patch) | |
| tree | 27cdf8970f9817f3978003f69865470c701144bc /Library/Homebrew/os | |
| parent | de0a089e529092bb8c6051c2a1fd48e8d6ea64ec (diff) | |
| download | homebrew-4ba3d2dd25ac2df8e10d2ca94825cf70d20c2c31.tar.bz2 | |
Recognize Xcode 5.1 and CLT 5.1
Closes #27389.
Fixes #27390.
Diffstat (limited to 'Library/Homebrew/os')
| -rw-r--r-- | Library/Homebrew/os/mac.rb | 1 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/xcode.rb | 9 |
2 files changed, 6 insertions, 4 deletions
diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index 5eeff3a57..dc6d7093e 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -249,6 +249,7 @@ module OS "5.0" => { :clang => "5.0", :clang_build => 500 }, "5.0.1" => { :clang => "5.0", :clang_build => 500 }, "5.0.2" => { :clang => "5.0", :clang_build => 500 }, + "5.1" => { :clang => "5.1", :clang_build => 503 }, } def compilers_standard? diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index ac352980f..23c867696 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -26,12 +26,12 @@ module OS when "10.5" then "3.1.4" when "10.6" then "3.2.6" when "10.7" then "4.6.3" - when "10.8" then "5.0.2" - when "10.9" then "5.0.2" + when "10.8" then "5.1" + when "10.9" then "5.1" else # Default to newest known version of Xcode for unreleased OSX versions. if MacOS.version > "10.9" - "5.0.2" + "5.1" else raise "Mac OS X '#{MacOS.version}' is invalid" end @@ -137,7 +137,8 @@ module OS when 41 then "4.5" when 42 then "4.6" when 50 then "5.0" - else "5.0" + when 51 then "5.1" + else "5.1" end end end |
