-
Notifications
You must be signed in to change notification settings - Fork 10.5k
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
Conversation
@swift-ci please test |
@swift-ci please test |
@jrose-apple updated with size and time and exact matching. |
Build failed |
Build failed |
ccbfd1a
to
a5abdb3
Compare
@swift-ci please test |
Build failed |
Build failed |
a5abdb3
to
a0de5b3
Compare
@swift-ci please test |
Build failed |
Build failed |
@jrose-apple pushed update with review comments addressed (I hope!) |
@swift-ci please test |
Build failed |
Build failed |
@swift-ci please test |
Build failed |
Build failed |
@swift-ci please test OSX platform |
There was a problem hiding this 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.
@swift-ci please test OSX platform |
1 similar comment
@swift-ci please test OSX platform |
@swift-ci please test macos platform |
@swift-ci please test |
Build failed |
@swift-ci Please Python lint |
@swift-ci please test and merge |
1 similar comment
@swift-ci please test and merge |
@swift-ci please test linux platform |
@swift-ci please test Linux platform |
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 newINPUT_BLOCK
records calledFILE_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.