Skip to content

Re-apply "swift-api-checker: update target triples for the tool to use" #26454

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions utils/api_checker/swift-api-checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ def create_directory(path):
class DumpConfig:
def __init__(self, tool_path, platform):
target_map = {
'iphoneos': 'arm64-apple-ios10.0',
'macosx': 'x86_64-apple-macosx10.11',
'appletvos': 'arm64-apple-tvos10.0',
'watchos': 'armv7k-apple-watchos3.0',
'iphoneos': 'arm64-apple-ios13.0',
'macosx': 'x86_64-apple-macosx10.15',
'appletvos': 'arm64-apple-tvos13.0',
'watchos': 'armv7k-apple-watchos6.0',
}
self.tool_path = get_api_digester_path(tool_path)
self.platform = platform
Expand Down Expand Up @@ -169,8 +169,8 @@ def main():
the output file of the module baseline should end with .json
''')

basic_group.add_argument('--swift-version', default='4', help='''
Swift version to use; default is 4
basic_group.add_argument('--swift-version', default='5', help='''
Swift version to use; default is 5
''')

basic_group.add_argument('--module', default=None, help='''
Expand Down