os: initial El Capitan support
This commit is contained in:
parent
8350e9c5ad
commit
90c8b82d38
@ -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?
|
||||
|
||||
@ -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',
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user