diff options
author | Victor Stinner <vstinner@python.org> | 2022-11-14 12:43:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-14 12:43:45 (GMT) |
commit | 9a7e9f9921804f3f90151ca42703e612697dd430 (patch) | |
tree | b33c5a5d0b5c2e38a7be7649156dbd4bdea5eded /Doc/using | |
parent | f15a0fcb1d13d28266f3e97e592e919b3fff2204 (diff) | |
download | cpython-9a7e9f9921804f3f90151ca42703e612697dd430.zip cpython-9a7e9f9921804f3f90151ca42703e612697dd430.tar.gz cpython-9a7e9f9921804f3f90151ca42703e612697dd430.tar.bz2 |
gh-99289: Add COMPILEALL_OPTS to Makefile (#99291)
Add COMPILEALL_OPTS variable in Makefile to override compileall
options (default: -j0) in "make install". Also merge the compileall
commands into a single command building PYC files for the all
optimization levels (0, 1, 2) at once.
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Doc/using')
-rw-r--r-- | Doc/using/configure.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index 860378c..0922972 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -767,6 +767,13 @@ Compiler flags .. versionadded:: 3.5 +.. envvar:: COMPILEALL_OPTS + + Options passed to the :mod:`compileall` command line when building PYC files + in ``make install``. Default: ``-j0``. + + .. versionadded:: 3.12 + .. envvar:: EXTRA_CFLAGS Extra C compiler flags. |