From 1c189cfc488c537534bad7ea8e1dffa3b52d69aa Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Tue, 10 Mar 2015 00:08:43 +0000 Subject: [PATCH] os: support xcode 6.2 Presume this will need to wait for the bots to be updated, but Xcode 6.2 has landed. Closes Homebrew/homebrew#37549. Signed-off-by: Mike McQuaid --- Library/Homebrew/os/mac.rb | 1 + Library/Homebrew/os/mac/xcode.rb | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index 14c9c38343..1c014d9340 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -210,6 +210,7 @@ module OS "6.0.1" => { :clang => "6.0", :clang_build => 600 }, "6.1" => { :clang => "6.0", :clang_build => 600 }, "6.1.1" => { :clang => "6.0", :clang_build => 600 }, + "6.2" => { :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 46e5d55123..23b1194e1c 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -13,12 +13,12 @@ module OS when "10.6" then "3.2.6" when "10.7" then "4.6.3" when "10.8" then "5.1.1" - when "10.9" then "6.1.1" - when "10.10" then "6.1.1" + when "10.9" then "6.2" + when "10.10" then "6.2" else # Default to newest known version of Xcode for unreleased OSX versions. if MacOS.version > "10.10" - "6.1.1" + "6.2" else raise "Mac OS X '#{MacOS.version}' is invalid" end @@ -160,8 +160,8 @@ module OS def latest_version case MacOS.version - when "10.10" then "600.0.56" - when "10.9" then "600.0.56" + when "10.10" then "600.0.57" + when "10.9" then "600.0.57" when "10.8" then "503.0.40" else "425.0.28"