mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-05 14:10:52 +03:00
document config setting "-C parallel=n" for number of CPUs to use for compilation
This commit is contained in:
parent
8070fe10f1
commit
b4e690049d
|
@ -390,9 +390,10 @@ After navigating to the Pillow directory, run::
|
||||||
Build Options
|
Build Options
|
||||||
"""""""""""""
|
"""""""""""""
|
||||||
|
|
||||||
* Environment variable: ``MAX_CONCURRENCY=n``. Pillow can use
|
* Config setting: ``-C parallel=n``. Can also be given
|
||||||
multiprocessing to build the extension. Setting ``MAX_CONCURRENCY``
|
with environment variable: ``MAX_CONCURRENCY=n``. Pillow can use
|
||||||
sets the number of CPUs to use, or can disable parallel building by
|
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
|
using a setting of 1. By default, it uses 4 CPUs, or if 4 are not
|
||||||
available, as many as are present.
|
available, as many as are present.
|
||||||
|
|
||||||
|
@ -417,14 +418,13 @@ Build Options
|
||||||
used to compile the standard Pillow wheels. Compiling libraqm requires
|
used to compile the standard Pillow wheels. Compiling libraqm requires
|
||||||
a C99-compliant compiler.
|
a C99-compliant compiler.
|
||||||
|
|
||||||
* Build flag: ``-C platform-guessing=disable``. Skips all of the
|
* Config setting: ``-C platform-guessing=disable``. Skips all of the
|
||||||
platform dependent guessing of include and library directories for
|
platform dependent guessing of include and library directories for
|
||||||
automated build systems that configure the proper paths in the
|
automated build systems that configure the proper paths in the
|
||||||
environment variables (e.g. Buildroot).
|
environment variables (e.g. Buildroot).
|
||||||
|
|
||||||
* Build flag: ``-C debug=true``. Adds a debugging flag to the include and
|
* Config setting: ``-C debug=true``. Adds a debugging flag to the include and
|
||||||
library search process to dump all paths searched for and found to
|
library search process to dump all paths searched for and found to stdout.
|
||||||
stdout.
|
|
||||||
|
|
||||||
|
|
||||||
Sample usage::
|
Sample usage::
|
||||||
|
|
Loading…
Reference in New Issue
Block a user