Skip to content

[CMake] Stop compiling API notes files to a binary format #19205

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

Conversation

jrose-apple
Copy link
Contributor

Clang's been able to read the textual format for a long time, and indeed that's what's used in the SDK. This isn't even really a performance win because the information is cached in PCMs.

rdar://problem/34293901

Clang's been able to read the textual format for a long time, and
indeed that's what's used in the SDK. This isn't even really a
performance win because the information is cached in PCMs.

rdar://problem/34293901
@jrose-apple
Copy link
Contributor Author

@swift-ci Please clean test

@jrose-apple
Copy link
Contributor Author

I didn't actually remove the support for compiling API notes files yet in case anyone is using it for some reason. I figure we can drop it (and the corresponding Clang support) post-Swift-5.

Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, makes sense. No need to complicate the build process with this step.

Copy link
Contributor

@Rostepher Rostepher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. Glad to see this part get a little less complicated! 👍

@jrose-apple jrose-apple merged commit 0149129 into swiftlang:master Sep 12, 2018
@jrose-apple jrose-apple deleted the the-c-stands-for-could-have-been-removed-earlier branch September 12, 2018 21:20
dcci pushed a commit that referenced this pull request Sep 17, 2018
Clang's been able to read the textual format for a long time, and
indeed that's what's used in the SDK. This isn't even really a
performance win because the information is cached in PCMs.

rdar://problem/34293901
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants