os: initial El Capitan support

This commit is contained in:
Dominyk Tiller 2015-06-10 00:15:00 +01:00
parent 8350e9c5ad
commit 90c8b82d38
3 changed files with 4 additions and 1 deletions

View File

@ -214,6 +214,7 @@ module OS
"6.3" => { :clang => "6.1", :clang_build => 602 },
"6.3.1" => { :clang => "6.1", :clang_build => 602 },
"6.3.2" => { :clang => "6.1", :clang_build => 602 },
"7.0" => { :clang => "7.0", :clang_build => 700 },
}
def compilers_standard?

View File

@ -4,6 +4,7 @@ module OS
module Mac
class Version < ::Version
SYMBOLS = {
:el_capitan => '10.11',
:yosemite => '10.10',
:mavericks => '10.9',
:mountain_lion => '10.8',

View File

@ -18,7 +18,7 @@ module OS
else
# Default to newest known version of Xcode for unreleased OSX versions.
if MacOS.version > "10.10"
"6.3.2"
"7.0"
else
raise "Mac OS X '#{MacOS.version}' is invalid"
end
@ -161,6 +161,7 @@ module OS
def latest_version
case MacOS.version
when "10.11" then "700.0.53"
when "10.10" then "602.0.53"
when "10.9" then "600.0.57"
when "10.8" then "503.0.40"