Skip to content

Implement build parallelism and default to parallel builds#152

Merged
rgommers merged 2 commits into
explosion:mainfrom
rgommers:main
Feb 23, 2026
Merged

Implement build parallelism and default to parallel builds#152
rgommers merged 2 commits into
explosion:mainfrom
rgommers:main

Conversation

@rgommers

Copy link
Copy Markdown
Contributor

Closes gh-28
Closes gh-105

The first commit takes over the change in PR gh-105 (keeping authorship), because that change is aimed at the old master branch rather than at main.

The second commit makes parallel builds the default, which should be safe enough and is what all modern build systems do. It really speeds up CI jobs, which is a nice benefit. For example:

From the last wheel build run on main:

image

From running those same jobs on my fork (CI log:

image

althonos and others added 2 commits February 19, 2026 18:52
Allow setting job count with `MAX_JOBS` environment variable
`MAX_JOBS` can still be used as an override in the (unlikely) case
that something is wrong.
@rgommers

Copy link
Copy Markdown
Contributor Author

This speeds up CI a lot, builds on a previous PR, and the idea got a thumbs up from @honnibal in gh-28, so I'll hit the green button here.

@rgommers
rgommers merged commit c35325e into explosion:main Feb 23, 2026
66 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support parallel builds with setup.py build -j10

2 participants