Merge pull request #904 from DomT4/sierra
Sierra: update diagnostic message, pkg-config, Xcode doc
This commit is contained in:
commit
7fb915319d
@ -63,18 +63,22 @@ module Homebrew
|
|||||||
def check_xcode_up_to_date
|
def check_xcode_up_to_date
|
||||||
return unless MacOS::Xcode.installed? && MacOS::Xcode.outdated?
|
return unless MacOS::Xcode.installed? && MacOS::Xcode.outdated?
|
||||||
|
|
||||||
if OS::Mac.prerelease?
|
message = <<-EOS.undent
|
||||||
xcode_select_nudge = <<-EOS.undent
|
|
||||||
If #{MacOS::Xcode.latest_version} is installed, you may need to:
|
|
||||||
sudo xcode-select --switch /path/to/Xcode-beta.app
|
|
||||||
EOS
|
|
||||||
end
|
|
||||||
|
|
||||||
<<-EOS.undent
|
|
||||||
Your Xcode (#{MacOS::Xcode.version}) is outdated
|
Your Xcode (#{MacOS::Xcode.version}) is outdated
|
||||||
Please update to Xcode #{MacOS::Xcode.latest_version}.
|
Please update to Xcode #{MacOS::Xcode.latest_version}.
|
||||||
#{MacOS::Xcode.update_instructions}#{xcode_select_nudge}
|
#{MacOS::Xcode.update_instructions}
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
|
if OS::Mac.prerelease?
|
||||||
|
current_path = Utils.popen_read("/usr/bin/xcode-select", "-p")
|
||||||
|
message += <<-EOS.undent
|
||||||
|
If #{MacOS::Xcode.latest_version} is installed, you may need to:
|
||||||
|
sudo xcode-select --switch /Applications/Xcode.app
|
||||||
|
Current developer directory is:
|
||||||
|
#{current_path}
|
||||||
|
EOS
|
||||||
|
end
|
||||||
|
message
|
||||||
end
|
end
|
||||||
|
|
||||||
def check_clt_up_to_date
|
def check_clt_up_to_date
|
||||||
|
@ -5,7 +5,7 @@ includedir=${prefix}/include
|
|||||||
|
|
||||||
Name: SQLite
|
Name: SQLite
|
||||||
Description: SQL database engine
|
Description: SQL database engine
|
||||||
Version: 3.13.0
|
Version: 3.14.0
|
||||||
Libs: -L${libdir} -lsqlite3
|
Libs: -L${libdir} -lsqlite3
|
||||||
Libs.private:
|
Libs.private:
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
|
@ -11,6 +11,7 @@ Tools available for your platform:
|
|||||||
10.9 | 6.2 | 6.2
|
10.9 | 6.2 | 6.2
|
||||||
10.10 | 7.2.1 | 7.2
|
10.10 | 7.2.1 | 7.2
|
||||||
10.11 | 7.3.1 | 7.3
|
10.11 | 7.3.1 | 7.3
|
||||||
|
10.12 | 8.0 | 8.0
|
||||||
|
|
||||||
|
|
||||||
## Compiler Version Database
|
## Compiler Version Database
|
||||||
@ -64,6 +65,7 @@ Tools available for your platform:
|
|||||||
7.2.1 | — | — | — | — | 7.0 (700.1.81) | -
|
7.2.1 | — | — | — | — | 7.0 (700.1.81) | -
|
||||||
7.3 | — | — | — | — | 7.3 (703.0.29) | -
|
7.3 | — | — | — | — | 7.3 (703.0.29) | -
|
||||||
7.3.1 | — | — | — | — | 7.3 (703.0.31) | -
|
7.3.1 | — | — | — | — | 7.3 (703.0.31) | -
|
||||||
|
8.0 | — | — | — | — | 8.0 (800.0.38) | -
|
||||||
|
|
||||||
## References to Xcode and compiler versions in code
|
## References to Xcode and compiler versions in code
|
||||||
When a new Xcode release is made, the following things need to be
|
When a new Xcode release is made, the following things need to be
|
||||||
|
Loading…
x
Reference in New Issue
Block a user