Skip to content

Conversation

@kateinoigakukun
Copy link
Member

@kateinoigakukun kateinoigakukun commented Dec 24, 2025

Propagate build jobs through plugin compilation

Motivation:

Package plugins compiled without respecting the selected --jobs value, so plugin builds could be much slower than the rest of the build when a plugin has multiple files.

Modifications:

  • Pass BuildParameters.workers to every plugin invocation site

Result:

Plugin compilation and execution now use the same job count as the rest of SwiftPM builds

Copy link
Contributor

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

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

Neat! Thanks 🙏

@MaxDesiatov
Copy link
Contributor

@swift-ci test

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