aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os
diff options
context:
space:
mode:
authorDominyk Tiller2014-09-10 02:44:36 +0100
committerJack Nagel2014-09-10 00:44:37 -0500
commit8205ebabcb3d090901e983b7946de1978df108f4 (patch)
treef458f0011f677c43ee9549de826b7f431cd1a72c /Library/Homebrew/os
parent4fd78c9690e6f5393956d9859747deacffa9297c (diff)
downloadbrew-8205ebabcb3d090901e983b7946de1978df108f4.tar.bz2
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>
Diffstat (limited to 'Library/Homebrew/os')
-rw-r--r--Library/Homebrew/os/mac.rb1
-rw-r--r--Library/Homebrew/os/mac/xcode.rb4
2 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb
index 229071b21..8d9d4178f 100644
--- a/Library/Homebrew/os/mac.rb
+++ b/Library/Homebrew/os/mac.rb
@@ -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?
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb
index 338fa1f43..a29192fd2 100644
--- a/Library/Homebrew/os/mac/xcode.rb
+++ b/Library/Homebrew/os/mac/xcode.rb
@@ -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