aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2014-09-10 02:44:36 +0100
committerJack Nagel2014-09-10 00:44:37 -0500
commitf6a0d9cadfcc62637c079c09ea40ef2c2a09fb3d (patch)
treeb5d0d3f265c18f3af411b70380d3a8d578122481 /Library
parentd22da1ab404e65d5da75fa6d7578d8264c8b76e0 (diff)
downloadhomebrew-f6a0d9cadfcc62637c079c09ea40ef2c2a09fb3d.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 #32201. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-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