-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Add Real Enable/Disable Flags for Cross-Module Incremental Builds #36111
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 smoke test |
include/swift/Option/Options.td
Outdated
def disable_incremental_imports : | ||
Flag<["-"], "disable-incremental-imports">, | ||
Flags<[FrontendOption]>, | ||
HelpText<"Enable cross-module incremental build metadata and " |
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.
Ack, thinko
a9280e7
to
d2be9e4
Compare
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. Hoping this can land simultaneously with the Swift Driver change.
@swift-ci smoke test |
77633b4
to
8826ef1
Compare
In the legacy driver, these flags will merely be propagated to the frontends to indicate that they should disable serialization of incremental information in swift module files. In the new driver, these flags control whether the Swift driver performs an incremental build that is aware of metadata embedded in the module. Kudos to David for coming up with our new marketing name: Incremental Imports. rdar://74363450
8826ef1
to
28a37a4
Compare
Now that incremental imports are the default, flip the polarity in some tests.
Make sure we can effectively turn this feature off instead of on.
@swift-ci smoke test |
2550df2
to
714a871
Compare
@swift-ci smoke test |
714a871
to
d946df7
Compare
@swift-ci smoke test |
⛵ |
In the legacy driver, these flags will merely be propagated to the frontends to indicate that they should disable serialization of incremental information in swift module files.
In the new driver, these flags control whether the Swift driver performs an incremental build that is aware of metadata embedded in the module.
Kudos to David for coming up with our new marketing name: Incremental Imports.
For now, I am not removing the option to provide the old experimental flag. Once we re-run the options generation script in the new driver, I will be removing it.
rdar://74363450