Skip to content

Commit b4e6900

Browse files
committed
document config setting "-C parallel=n" for number of CPUs to use for compilation
1 parent 8070fe1 commit b4e6900

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

docs/installation.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -390,9 +390,10 @@ After navigating to the Pillow directory, run::
390390
Build Options
391391
"""""""""""""
392392

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

@@ -417,14 +418,13 @@ Build Options
417418
used to compile the standard Pillow wheels. Compiling libraqm requires
418419
a C99-compliant compiler.
419420

420-
* Build flag: ``-C platform-guessing=disable``. Skips all of the
421+
* Config setting: ``-C platform-guessing=disable``. Skips all of the
421422
platform dependent guessing of include and library directories for
422423
automated build systems that configure the proper paths in the
423424
environment variables (e.g. Buildroot).
424425

425-
* Build flag: ``-C debug=true``. Adds a debugging flag to the include and
426-
library search process to dump all paths searched for and found to
427-
stdout.
426+
* Config setting: ``-C debug=true``. Adds a debugging flag to the include and
427+
library search process to dump all paths searched for and found to stdout.
428428

429429

430430
Sample usage::

0 commit comments

Comments
 (0)