Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
brew
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KMSCAKKSCFKA AKFACAMADCAS
brew
Commits
7695b029
Unverified
Commit
7695b029
authored
5 years ago
by
Mike McQuaid
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #6208 from lembacon/xcode-11.0
xcode: add initial support for Xcode 11.0
parents
06e0614a
2a5aee0a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Library/Homebrew/os/mac.rb
+2
-1
2 additions, 1 deletion
Library/Homebrew/os/mac.rb
Library/Homebrew/os/mac/xcode.rb
+7
-2
7 additions, 2 deletions
Library/Homebrew/os/mac/xcode.rb
with
9 additions
and
3 deletions
Library/Homebrew/os/mac.rb
+
2
−
1
View file @
7695b029
...
...
@@ -37,7 +37,7 @@ module OS
def
latest_sdk_version
# TODO: bump version when new Xcode macOS SDK is released
Version
.
new
"10.1
4
"
Version
.
new
"10.1
5
"
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?
...
...
This diff is collapsed.
Click to expand it.
Library/Homebrew/os/mac/xcode.rb
+
7
−
2
View file @
7695b029
...
...
@@ -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.
"1
0.2.1
"
"1
1.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"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment