Prefer Xcode 6.1 on 10.10
More Yosemite changes. Within two weeks or so, Xcode should be made available on the App Store, at which point 10.9 will need to go from “5.1.1” to “6.0” but whilst Yosemite is in Beta *everyone* should be using the Xcode Beta builds according to Apple, so Yosemite should be on 6.1 for the foreseeable, even when Apple releases Xcode 6.0 to 10.9 & below. 6.1 is still using the same Clang version number at this point. Closes Homebrew/homebrew#32201. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
4fd78c9690
commit
8205ebabcb
@ -207,6 +207,7 @@ module OS
|
||||
"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 },
|
||||
"6.1" => { :clang => "6.0", :clang_build => 600 },
|
||||
}
|
||||
|
||||
def compilers_standard?
|
||||
|
@ -14,11 +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"
|
||||
when "10.10" then "6.1"
|
||||
else
|
||||
# Default to newest known version of Xcode for unreleased OSX versions.
|
||||
if MacOS.version > "10.10"
|
||||
"6.0"
|
||||
"6.1"
|
||||
else
|
||||
raise "Mac OS X '#{MacOS.version}' is invalid"
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user