Skip to content

Switch from .sid files to using FILE_DEPENDENCY records in INPUT_BLOCK #20170

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 13 commits into from
Nov 6, 2018

Conversation

graydon
Copy link
Contributor

@graydon graydon commented Oct 31, 2018

This backs off previous approach I made in b4a96bb that used separate .sid files to store dependency info. Instead, automatically-generated .swiftmodules will now contain some new INPUT_BLOCK records called FILE_DEPENDENCY, which encode the same data but don't make as much of a mess (no new filetype).

I'll expand this next to track file sizes too, and will redo the dependency test to be test meaningful scenarios; I just figured I'd get this much tidied up and reviewed since it seems to kinda work and deleting the .sid code ASAP seemed like a good move.

@graydon graydon requested a review from jrose-apple October 31, 2018 00:21
@graydon
Copy link
Contributor Author

graydon commented Oct 31, 2018

@swift-ci please test

@graydon
Copy link
Contributor Author

graydon commented Oct 31, 2018

@swift-ci please test

@graydon
Copy link
Contributor Author

graydon commented Oct 31, 2018

@jrose-apple updated with size and time and exact matching.

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 359edaef6b1e99c9441ed1c3ec4eb4372032b4a2

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 359edaef6b1e99c9441ed1c3ec4eb4372032b4a2

@graydon graydon force-pushed the text-interface-to-module branch from ccbfd1a to a5abdb3 Compare November 1, 2018 00:58
@graydon
Copy link
Contributor Author

graydon commented Nov 1, 2018

@swift-ci please test

@swift-ci
Copy link
Contributor

swift-ci commented Nov 1, 2018

Build failed
Swift Test OS X Platform
Git Sha - ccbfd1a6990e77e455a642e6d7c08995bbf6b39b

@swift-ci
Copy link
Contributor

swift-ci commented Nov 1, 2018

Build failed
Swift Test Linux Platform
Git Sha - ccbfd1a6990e77e455a642e6d7c08995bbf6b39b

@graydon graydon force-pushed the text-interface-to-module branch from a5abdb3 to a0de5b3 Compare November 1, 2018 17:52
@graydon
Copy link
Contributor Author

graydon commented Nov 1, 2018

@swift-ci please test

@swift-ci
Copy link
Contributor

swift-ci commented Nov 1, 2018

Build failed
Swift Test Linux Platform
Git Sha - a5abdb335511a3a90b96105a2b6ae95e72a5eee8

@swift-ci
Copy link
Contributor

swift-ci commented Nov 1, 2018

Build failed
Swift Test OS X Platform
Git Sha - a5abdb335511a3a90b96105a2b6ae95e72a5eee8

@graydon
Copy link
Contributor Author

graydon commented Nov 2, 2018

@jrose-apple pushed update with review comments addressed (I hope!)

@graydon
Copy link
Contributor Author

graydon commented Nov 2, 2018

@swift-ci please test

@swift-ci
Copy link
Contributor

swift-ci commented Nov 2, 2018

Build failed
Swift Test OS X Platform
Git Sha - a0de5b3

@swift-ci
Copy link
Contributor

swift-ci commented Nov 2, 2018

Build failed
Swift Test Linux Platform
Git Sha - a0de5b3

@graydon
Copy link
Contributor Author

graydon commented Nov 2, 2018

@swift-ci please test

@swift-ci
Copy link
Contributor

swift-ci commented Nov 2, 2018

Build failed
Swift Test OS X Platform
Git Sha - 0a3bd3e

@swift-ci
Copy link
Contributor

swift-ci commented Nov 2, 2018

Build failed
Swift Test Linux Platform
Git Sha - 0a3bd3e

@graydon
Copy link
Contributor Author

graydon commented Nov 5, 2018

@swift-ci please test OSX platform

Copy link
Contributor

@jrose-apple jrose-apple left a comment

Choose a reason for hiding this comment

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

Looks good, only minor comments. I do still think we need the follow-up where dependencies propagate out (so that my app depends on Foundation.swiftinterface and not just Foundation.swiftmodule), but that can and probably should be a separate PR.

@graydon
Copy link
Contributor Author

graydon commented Nov 5, 2018

@swift-ci please test OSX platform

1 similar comment
@graydon
Copy link
Contributor Author

graydon commented Nov 5, 2018

@swift-ci please test OSX platform

@graydon
Copy link
Contributor Author

graydon commented Nov 5, 2018

@swift-ci please test macos platform

@graydon
Copy link
Contributor Author

graydon commented Nov 5, 2018

@swift-ci please test

@swift-ci
Copy link
Contributor

swift-ci commented Nov 6, 2018

Build failed
Swift Test OS X Platform
Git Sha - c82e76b

@graydon
Copy link
Contributor Author

graydon commented Nov 6, 2018

@swift-ci Please Python lint

@graydon
Copy link
Contributor Author

graydon commented Nov 6, 2018

@swift-ci please test and merge

1 similar comment
@graydon
Copy link
Contributor Author

graydon commented Nov 6, 2018

@swift-ci please test and merge

@graydon
Copy link
Contributor Author

graydon commented Nov 6, 2018

@swift-ci please test linux platform

@graydon
Copy link
Contributor Author

graydon commented Nov 6, 2018

@swift-ci please test Linux platform

@graydon graydon merged commit e272ece into swiftlang:master Nov 6, 2018
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