update latest versions of Xcode for 10.11 & 10.12
This commit is contained in:
parent
60f6dfea14
commit
c5bac087b3
@ -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?
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -11,8 +11,8 @@ 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 | 8.0 | 7.3 |
|
||||
| 10.12 | 8.0 | 8.0 |
|
||||
| 10.11 | 8.2.1 | 8.2 |
|
||||
| 10.12 | 8.3 | 8.3 |
|
||||
|
||||
## Compiler version database
|
||||
|
||||
@ -66,6 +66,10 @@ Tools available for your platform:
|
||||
| 7.3 | — | — | — | — | 7.3 (703.0.29) | — |
|
||||
| 7.3.1 | — | — | — | — | 7.3 (703.0.31) | — |
|
||||
| 8.0 | — | — | — | — | 8.0 (800.0.38) | — |
|
||||
| 8.1 | — | — | — | — | 8.0 (800.0.42.1)| — |
|
||||
| 8.2 | — | — | — | — | 8.0 (800.0.42.1)| — |
|
||||
| 8.2.1 | — | — | — | — | 8.0 (800.0.42.1)| — |
|
||||
| 8.3 | — | — | — | — | 8.1 (802.0.38) | — |
|
||||
|
||||
## References to Xcode and compiler versions in code
|
||||
When a new Xcode release is made, the following things need to be
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user