Skip to content
Snippets Groups Projects
Unverified Commit 7695b029 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #6208 from lembacon/xcode-11.0

xcode: add initial support for Xcode 11.0
parents 06e0614a 2a5aee0a
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ module OS
def latest_sdk_version
# TODO: bump version when new Xcode macOS SDK is released
Version.new "10.14"
Version.new "10.15"
end
def latest_stable_version
......@@ -208,6 +208,7 @@ module OS
"10.1" => { clang: "10.0", clang_build: 1000 },
"10.2" => { clang: "10.0", clang_build: 1001 },
"10.2.1" => { clang: "10.0", clang_build: 1001 },
"11.0" => { clang: "11.0", clang_build: 1100 },
}.freeze
def compilers_standard?
......
......@@ -17,16 +17,18 @@ module OS
when "10.12" then "9.2"
when "10.13" then "10.1"
when "10.14" then "10.2.1"
when "10.15" then "11.0"
else
raise "macOS '#{MacOS.version}' is invalid" unless OS::Mac.prerelease?
# Default to newest known version of Xcode for unreleased macOS versions.
"10.2.1"
"11.0"
end
end
def minimum_version
case MacOS.version
when "10.15" then "11.0"
when "10.14" then "10.2"
when "10.13" then "9.0"
when "10.12" then "8.0"
......@@ -174,7 +176,8 @@ module OS
when 90 then "9.2"
when 91 then "9.4"
when 100 then "10.2.1"
else "10.2.1"
when 110 then "11.0"
else "11.0"
end
end
......@@ -242,6 +245,7 @@ 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.15" then "1100.0.20.17"
when "10.14" then "1001.0.46.4"
when "10.13" then "1000.10.44.2"
when "10.12" then "900.0.39.2"
......@@ -253,6 +257,7 @@ module OS
def minimum_version
case MacOS.version
when "10.15" then "11.0.0"
when "10.14" then "10.0.0"
when "10.13" then "9.0.0"
when "10.12" then "8.0.0"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment