From 32ae71b256089b4f34365eb969a3c8aa3bce52dd Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Sun, 10 Apr 2016 20:00:11 +0100 Subject: xcode: expect 7.3 on 10.11 xcode: expect 7.3 on 10.11--- Library/Homebrew/os/mac.rb | 1 + Library/Homebrew/os/mac/xcode.rb | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index fcaaf2723..aa90cfc43 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -287,6 +287,7 @@ module OS "7.1.1" => { :clang => "7.0", :clang_build => 700 }, "7.2" => { :clang => "7.0", :clang_build => 700 }, "7.2.1" => { :clang => "7.0", :clang_build => 700 }, + "7.3" => { :clang => "7.3", :clang_build => 703 }, } def compilers_standard? diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index dc7360c1d..4cb8666a4 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -15,11 +15,11 @@ module OS when "10.8" then "5.1.1" when "10.9" then "6.2" when "10.10" then "7.2.1" - when "10.11" then "7.2.1" + when "10.11" then "7.3" else # Default to newest known version of Xcode for unreleased OSX versions. if OS::Mac.prerelease? - "7.2.1" + "7.3" else raise "OS X '#{MacOS.version}' is invalid" end @@ -125,7 +125,8 @@ module OS when 60 then "6.0" when 61 then "6.1" when 70 then "7.0" - else "7.0" + when 73 then "7.3" + else "7.3" end end end @@ -168,7 +169,7 @@ module OS def latest_version case MacOS.version - when "10.11" then "700.1.81" + when "10.11" then "703.0.29" when "10.10" then "700.1.81" when "10.9" then "600.0.57" when "10.8" then "503.0.40" -- cgit v1.2.3