Skip to content

[DNM Incremental] Start of cross-module incrementality #458

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 8 commits into from
Feb 3, 2021

Conversation

davidungar
Copy link
Contributor

Integrates incrementalExternalDependencies.

Unimplemented/Broken:
Does not write ModuleDepGraph or try to read it instead of swiftDeps. Probably doesn't do the right thing if it did read ModuleDepGraph.

  • For instance: how to handle deleted imports

Does not do the right thing when importing a module with incrementalExternalDependencies when running with -enable-incremental-cross-module-etc turned off.

Implemented:
Reads incrementalExternalDependencies and integrates the contents of the swiftmodule files, running to a fixpoint.
Causes anything depended upon them to be marked as dirty, since right now there is no prior ModuleDepGraph.

@davidungar
Copy link
Contributor Author

@swit-ci please test

@CodaFi
Copy link
Contributor

CodaFi commented Feb 3, 2021

@swift-ci test

@CodaFi
Copy link
Contributor

CodaFi commented Feb 3, 2021

@swift-ci test

@CodaFi
Copy link
Contributor

CodaFi commented Feb 3, 2021

@swift-ci test

@CodaFi
Copy link
Contributor

CodaFi commented Feb 3, 2021

@CodaFi CodaFi merged commit 1780e77 into swiftlang:main Feb 3, 2021
@davidungar davidungar deleted the start-integration-3 branch February 16, 2021 18:10
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.

2 participants