Skip to content
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

[5.9 🍒][Explicit Module Builds] Remove logic for Swift-client-specific Clang module dependency jobs #1333

Merged
merged 1 commit into from Apr 19, 2023

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Apr 18, 2023

Cherry-pick of #1332

We have moved towards a build model where the output of the dependency scanner is the canonical collection of modules that must be built. The driver's logic to generate potentially multiple examples of a given Clang dependency, with different command sets, as required per Swift client module in the build graph, is no longer valid - even module output paths are no longer determined by the driver. Remaining logic that is removed in this PR may result in mistakenly producing duplicate jobs for the same Clang PCM build job.

Change affects explicit module builds only and does not have any impact on implicit build code-path.

… module dependency jobs

We have moved towards a build model where the output of the dependency scanner is the canonical collection of modules that must be built. The driver's logic to generate potentially multiple examples of a given Clang dependency, with different command sets, as required per Swift client module in the build graph, is no longer valid - even module output paths are no longer determined by the driver. Remaining logic that is removed in this PR may result in mistakenly producing duplicate jobs for the same Clang PCM build job.
@artemcm artemcm requested a review from nkcsgexi April 18, 2023 17:37
@artemcm
Copy link
Contributor Author

artemcm commented Apr 18, 2023

@swift-ci test

Copy link
Member

@nkcsgexi nkcsgexi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice clean-ups!

@artemcm artemcm merged commit 41ac2b1 into apple:release/5.9 Apr 19, 2023
3 checks passed
@artemcm artemcm deleted the 59NoMorePCMARGSpecificModules branch April 19, 2023 15:41
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.

None yet

2 participants