xcode: expect xcode 7.1

Closes Homebrew/homebrew#45266.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Martin Afanasjew 2015-10-23 14:16:03 +02:00 committed by Dominyk Tiller
parent f5d7e6915b
commit f6cf1a4025
3 changed files with 9 additions and 7 deletions

View File

@ -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?

View File

@ -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

View File

@ -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