os: support xcode 6.2

Presume this will need to wait for the bots to be updated, but Xcode
6.2 has landed.

Closes Homebrew/homebrew#37549.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Dominyk Tiller 2015-03-10 00:08:43 +00:00 committed by Mike McQuaid
parent 7ec71c4542
commit 1c189cfc48
2 changed files with 6 additions and 5 deletions

View File

@ -210,6 +210,7 @@ module OS
"6.0.1" => { :clang => "6.0", :clang_build => 600 }, "6.0.1" => { :clang => "6.0", :clang_build => 600 },
"6.1" => { :clang => "6.0", :clang_build => 600 }, "6.1" => { :clang => "6.0", :clang_build => 600 },
"6.1.1" => { :clang => "6.0", :clang_build => 600 }, "6.1.1" => { :clang => "6.0", :clang_build => 600 },
"6.2" => { :clang => "6.0", :clang_build => 600 },
} }
def compilers_standard? def compilers_standard?

View File

@ -13,12 +13,12 @@ module OS
when "10.6" then "3.2.6" when "10.6" then "3.2.6"
when "10.7" then "4.6.3" when "10.7" then "4.6.3"
when "10.8" then "5.1.1" when "10.8" then "5.1.1"
when "10.9" then "6.1.1" when "10.9" then "6.2"
when "10.10" then "6.1.1" when "10.10" then "6.2"
else else
# Default to newest known version of Xcode for unreleased OSX versions. # Default to newest known version of Xcode for unreleased OSX versions.
if MacOS.version > "10.10" if MacOS.version > "10.10"
"6.1.1" "6.2"
else else
raise "Mac OS X '#{MacOS.version}' is invalid" raise "Mac OS X '#{MacOS.version}' is invalid"
end end
@ -160,8 +160,8 @@ module OS
def latest_version def latest_version
case MacOS.version case MacOS.version
when "10.10" then "600.0.56" when "10.10" then "600.0.57"
when "10.9" then "600.0.56" when "10.9" then "600.0.57"
when "10.8" then "503.0.40" when "10.8" then "503.0.40"
else else
"425.0.28" "425.0.28"