diff options
| author | Mike McQuaid | 2017-04-02 17:49:12 +0100 |
|---|---|---|
| committer | GitHub | 2017-04-02 17:49:12 +0100 |
| commit | 8ea778f7c7ea790694485030d105a92a9416ef33 (patch) | |
| tree | 83445b4f6298d15355ac254105d65b405cd21b33 /Library | |
| parent | fabc5bc8930643077a0f510006f1ef46f60d9a2e (diff) | |
| parent | a084776f95d6bb94985cc6f74757b40e4e4ba57b (diff) | |
| download | brew-1.1.12.tar.bz2 | |
Merge pull request #2412 from EricFromCanada/master1.1.12
Xcode: update supported versions & download URLs for 8.3
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/os/mac/development_tools.rb | 4 | ||||
| -rw-r--r-- | Library/Homebrew/extend/os/mac/diagnostic.rb | 6 | ||||
| -rw-r--r-- | Library/Homebrew/extend/os/mac/missing_formula.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac.rb | 4 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/xcode.rb | 17 | ||||
| -rw-r--r-- | Library/Homebrew/requirements.rb | 2 |
6 files changed, 23 insertions, 12 deletions
diff --git a/Library/Homebrew/extend/os/mac/development_tools.rb b/Library/Homebrew/extend/os/mac/development_tools.rb index f54c6b8a3..caa85ffca 100644 --- a/Library/Homebrew/extend/os/mac/development_tools.rb +++ b/Library/Homebrew/extend/os/mac/development_tools.rb @@ -31,13 +31,13 @@ class DevelopmentTools elsif MacOS.version == "10.8" || MacOS.version == "10.7" <<-EOS.undent Install the Command Line Tools from - https://developer.apple.com/downloads/ + https://developer.apple.com/download/more/ or via Xcode's preferences. EOS else <<-EOS.undent Install Xcode from - https://developer.apple.com/xcode/downloads/ + https://developer.apple.com/download/more/ EOS end end diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb index c7dabde2b..fb6b30836 100644 --- a/Library/Homebrew/extend/os/mac/diagnostic.rb +++ b/Library/Homebrew/extend/os/mac/diagnostic.rb @@ -81,6 +81,12 @@ module Homebrew return unless MacOS::CLT.installed? return unless MacOS::CLT.outdated? + # Travis CI images are going to end up outdated so don't complain when + # `brew test-bot` runs `brew doctor` in the CI for the Homebrew/brew + # repository. This only needs to support whatever CI provider + # Homebrew/brew is currently using. + return if ENV["TRAVIS"] + <<-EOS.undent A newer Command Line Tools release is available. #{MacOS::CLT.update_instructions} diff --git a/Library/Homebrew/extend/os/mac/missing_formula.rb b/Library/Homebrew/extend/os/mac/missing_formula.rb index 48dfd2865..bcf0eb25d 100644 --- a/Library/Homebrew/extend/os/mac/missing_formula.rb +++ b/Library/Homebrew/extend/os/mac/missing_formula.rb @@ -10,7 +10,7 @@ module Homebrew EOS else <<-EOS.undent - Xcode can be installed from #{Formatter.url("https://developer.apple.com/xcode/downloads/")}. + Xcode can be installed from #{Formatter.url("https://developer.apple.com/download/more/")}. EOS end else diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index e09a9b3fd..518936647 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -201,6 +201,10 @@ module OS "7.3" => { clang: "7.3", clang_build: 703 }, "7.3.1" => { clang: "7.3", clang_build: 703 }, "8.0" => { clang: "8.0", clang_build: 800 }, + "8.1" => { clang: "8.0", clang_build: 800 }, + "8.2" => { clang: "8.0", clang_build: 800 }, + "8.2.1" => { clang: "8.0", clang_build: 800 }, + "8.3" => { clang: "8.1", clang_build: 802 }, }.freeze def compilers_standard? diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index aa4504a17..70fe3c14d 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -16,13 +16,13 @@ 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 "8.2" - when "10.12" then "8.2" + when "10.11" then "8.2.1" + when "10.12" then "8.3" else raise "macOS '#{MacOS.version}' is invalid" unless OS::Mac.prerelease? # Default to newest known version of Xcode for unreleased macOS versions. - "8.2" + "8.3" end end @@ -90,7 +90,7 @@ module OS else <<-EOS.undent Xcode can be updated from - https://developer.apple.com/xcode/downloads/ + https://developer.apple.com/download/more/ EOS end end @@ -152,7 +152,8 @@ module OS when 70 then "7.0" when 73 then "7.3" when 80 then "8.0" - else "8.0" + when 81 then "8.3" + else "8.3" end end @@ -202,7 +203,7 @@ module OS elsif MacOS.version == "10.8" || MacOS.version == "10.7" <<-EOS.undent The standalone package can be obtained from - https://developer.apple.com/downloads + https://developer.apple.com/download/more/ or it can be installed via Xcode's preferences. EOS end @@ -213,8 +214,8 @@ module OS # on the older supported platform for that Xcode release, i.e there's no # CLT package for 10.11 that contains the Clang version from Xcode 8. case MacOS.version - when "10.12" then "800.0.42.1" - when "10.11" then "703.0.31" + when "10.12" then "802.0.38" + when "10.11" then "800.0.42.1" when "10.10" then "700.1.81" when "10.9" then "600.0.57" when "10.8" then "503.0.40" diff --git a/Library/Homebrew/requirements.rb b/Library/Homebrew/requirements.rb index b09dc889a..553beb2a2 100644 --- a/Library/Homebrew/requirements.rb +++ b/Library/Homebrew/requirements.rb @@ -43,7 +43,7 @@ class XcodeRequirement < Requirement EOS else message + <<-EOS.undent - Xcode can be installed from #{Formatter.url("https://developer.apple.com/xcode/downloads/")} + Xcode can be installed from #{Formatter.url("https://developer.apple.com/download/more/")}. EOS end end |
