From c55da93ff390fc5863e6c2967f345676c4aad569 Mon Sep 17 00:00:00 2001 From: Martin Afanasjew Date: Thu, 5 May 2016 13:22:37 +0200 Subject: [PATCH] xcode: expect 7.3.1 on 10.11 --- Library/Homebrew/os/mac.rb | 1 + Library/Homebrew/os/mac/xcode.rb | 6 +++--- share/doc/homebrew/Xcode.md | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index 5f8637f688..73e499d407 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -296,6 +296,7 @@ module OS "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 }, + "7.3.1" => { :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 f6447fbc82..65a294306c 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.3" + when "10.11" then "7.3.1" else # Default to newest known version of Xcode for unreleased OSX versions. if OS::Mac.prerelease? - "7.3" + "7.3.1" else raise "OS X '#{MacOS.version}' is invalid" end @@ -172,7 +172,7 @@ module OS def latest_version case MacOS.version - when "10.11" then "703.0.29" + when "10.11" then "703.0.31" when "10.10" then "700.1.81" when "10.9" then "600.0.57" when "10.8" then "503.0.40" diff --git a/share/doc/homebrew/Xcode.md b/share/doc/homebrew/Xcode.md index b5afb92a16..9670499970 100644 --- a/share/doc/homebrew/Xcode.md +++ b/share/doc/homebrew/Xcode.md @@ -10,7 +10,7 @@ Tools available for your platform: 10.8 | 5.1.1 | April 2014 10.9 | 6.2 | 6.2 10.10 | 7.2.1 | 7.2 - 10.11 | 7.3 | 7.3 + 10.11 | 7.3.1 | 7.3 ## Compiler Version Database @@ -63,6 +63,7 @@ Tools available for your platform: 7.2 | — | — | — | — | 7.0 (700.1.81) | - 7.2.1 | — | — | — | — | 7.0 (700.1.81) | - 7.3 | — | — | — | — | 7.3 (703.0.29) | - + 7.3.1 | — | — | — | — | 7.3 (703.0.31) | - ## References to Xcode and compiler versions in code When a new Xcode release is made, the following things need to be