Skip to content

Don't plan compileJob if emitModule is all that is needed in a separate job #1675

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 1 commit into from
Jul 31, 2024

Conversation

cachemeifyoucan
Copy link
Contributor

When the requested output is -emit-module and also using -experimental-emit-module-separately, do not schedule compileJob for each individual source files since all outputs already satisfied by the separately emit module job. The compileJob will only produce unnecessary outputs like per-file modules and slow down the build.

rdar://84979778

…te job

When the requested output is `-emit-module` and also using
`-experimental-emit-module-separately`, do not schedule compileJob for
each individual source files since all outputs already satisfied by the
separately emit module job. The compileJob will only produce unnecessary
outputs like per-file modules and slow down the build.

rdar://84979778
@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please test

@cachemeifyoucan cachemeifyoucan merged commit a32005e into swiftlang:main Jul 31, 2024
3 checks passed
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