Initial Yosemite Support

Closes Homebrew/homebrew#31435.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Dominyk Tiller 2014-08-07 23:43:05 +01:00 committed by Jack Nagel
parent 2a5218dacc
commit 97af5a29f7
2 changed files with 4 additions and 1 deletions

View File

@ -206,6 +206,7 @@ module OS
"5.0.2" => { :clang => "5.0", :clang_build => 500 },
"5.1" => { :clang => "5.1", :clang_build => 503 },
"5.1.1" => { :clang => "5.1", :clang_build => 503 },
"6.0" => { :clang => "6.0", :clang_build => 600 },
}
def compilers_standard?

View File

@ -14,10 +14,11 @@ module OS
when "10.7" then "4.6.3"
when "10.8" then "5.1.1"
when "10.9" then "5.1.1"
when "10.10" then "6.0"
else
# Default to newest known version of Xcode for unreleased OSX versions.
if MacOS.version > "10.9"
"5.1.1"
"6.0"
else
raise "Mac OS X '#{MacOS.version}' is invalid"
end
@ -115,6 +116,7 @@ module OS
when 42 then "4.6"
when 50 then "5.0"
when 51 then "5.1"
when 60 then "6.0"
else "5.1"
end
end