Skip to content

Conversation

@radarhere
Copy link

Suggestion for python-pillow#8990

https://pillow.readthedocs.io/en/stable/installation/building-from-source.html#build-options

Config setting: -C parallel=n. Can also be given with environment variable: MAX_CONCURRENCY=n. Pillow can use multiprocessing to build the extension. Setting -C parallel=n sets the number of CPUs to use to n, or can disable parallel building by using a setting of 1. By default, it uses 4 CPUs, or if 4 are not available, as many as are present.

This PR allows -C parallel=n to be used, and 4 otherwise.

@radarhere
Copy link
Author

Cherry-picked into the PR.

@radarhere radarhere closed this Jun 25, 2025
@radarhere radarhere deleted the pybind11 branch June 25, 2025 11:45
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.

1 participant