diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index e8c2f76bc6..788d7b108b 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -252,6 +252,7 @@ module OS "6.4" => { :clang => "6.1", :clang_build => 602 }, "7.0" => { :clang => "7.0", :clang_build => 700 }, "7.0.1" => { :clang => "7.0", :clang_build => 700 }, + "7.1" => { :clang => "7.0", :clang_build => 700 }, } def compilers_standard? diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index d41dec26d5..105831de8c 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -14,12 +14,12 @@ module OS when "10.7" then "4.6.3" when "10.8" then "5.1.1" when "10.9" then "6.2" - when "10.10" then "7.0.1" - when "10.11" then "7.0.1" + when "10.10" then "7.1" + when "10.11" then "7.1" else # Default to newest known version of Xcode for unreleased OSX versions. if OS::Mac.prerelease? - "7.0.1" + "7.1" else raise "OS X '#{MacOS.version}' is invalid" end @@ -165,8 +165,8 @@ module OS def latest_version case MacOS.version - when "10.11" then "700.0.72" - when "10.10" then "700.0.72" + when "10.11" then "700.1.76" + when "10.10" then "700.1.76" when "10.9" then "600.0.57" when "10.8" then "503.0.40" else diff --git a/share/doc/homebrew/Xcode.md b/share/doc/homebrew/Xcode.md index 606e86d0eb..beaa4ecf6c 100644 --- a/share/doc/homebrew/Xcode.md +++ b/share/doc/homebrew/Xcode.md @@ -9,8 +9,8 @@ Tools available for your platform: 10.7 | 4.6.3 | April 2013 10.8 | 5.1.1 | April 2014 10.9 | 6.2 | 6.2 - 10.10 | 7.0.1 | 7.0.1 - 10.11 | 7.0.1 | 7.0.1 + 10.10 | 7.1 | 7.1 + 10.11 | 7.1 | 7.1 ## Compiler Version Database @@ -58,6 +58,7 @@ Tools available for your platform: 6.4 | — | — | — | — | 6.1 (602.0.53) | 3.6 7.0 | — | — | — | — | 7.0 (700.0.72) | - 7.0.1 | — | — | — | — | 7.0 (700.0.72) | - + 7.1 | — | — | — | — | 7.0 (700.1.76) | - ## References to Xcode and compiler versions in code When a new Xcode release is made, the following things need to be