Skip to content

[Driver, Incremental] Add enable- and disable- only-one-dependency-file flags off-by-default #28867

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 2 commits into from
Dec 19, 2019

Conversation

davidungar
Copy link
Contributor

@davidungar davidungar commented Dec 19, 2019

Only enabled if the driver is passed -enable-only-one-dependency-file

Since every make-style dependency file has the same contents, it wastes time to output one for each source file. Only write one real one, and create empty dummy files (to keep the build system happy) for the rest.

Latest version of this facility. Intervenes earlier in the driver in order to work well with batch mode.

Landing this PR first, planning to land a separate one turning the feature on-by-default. That way, it can be easily disabled.

Preparatory for rdar://57824038

@davidungar
Copy link
Contributor Author

@swift-ci please smoke test

1 similar comment
@davidungar
Copy link
Contributor Author

@swift-ci please smoke test

@davidungar davidungar force-pushed the enable-disable-off-by-default branch from 1270e5d to f48db4d Compare December 19, 2019 05:22
@davidungar
Copy link
Contributor Author

@swift-ci please smoke test

@davidungar davidungar force-pushed the enable-disable-off-by-default branch from f48db4d to 0291b36 Compare December 19, 2019 06:35
@davidungar
Copy link
Contributor Author

@swift-ci please smoke test

@davidungar davidungar merged commit 69d1060 into swiftlang:master Dec 19, 2019
davidungar pushed a commit to davidungar/swift that referenced this pull request Dec 20, 2019
…-by-default

[Driver, Incremental] Add enable- and disable- only-one-dependency-file flags off-by-default
davidungar pushed a commit to davidungar/swift that referenced this pull request Dec 23, 2019
…-by-default

[Driver, Incremental] Add enable- and disable- only-one-dependency-file flags off-by-default
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