Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7e8285f

Browse files
committed
gh-1547: Restructure --config-cache as optional speedup tip
1 parent 69463e6 commit 7e8285f

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

getting-started/setup-building.rst

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -192,16 +192,20 @@ for development is to configure it and then compile it.
192192

193193
Configuration is typically::
194194

195-
$ ./configure --config-cache --with-pydebug
196-
197-
The ``--config-cache`` (short: ``-C``, equivalent: ``--cache-file=config.cache``)
198-
option speeds up repeated ``configure`` runs by caching results in a
199-
``config.cache`` file. If you switch compilers or significantly change your
200-
build environment, delete ``config.cache`` before re-running ``configure``.
195+
$ ./configure --with-pydebug
201196

202197
More flags are available to ``configure``, but this is the minimum you should
203198
do to get a pydebug build of CPython.
204199

200+
To speed up repeated ``configure`` runs, use ``--config-cache`` (short: ``-C``,
201+
equivalent: ``--cache-file=config.cache``)::
202+
203+
$ ./configure --config-cache --with-pydebug
204+
205+
This caches results in a ``config.cache`` file. If you switch compilers or
206+
significantly change your build environment, delete ``config.cache`` before
207+
re-running ``configure``.
208+
205209
.. note::
206210
You might need to run ``make clean`` before or after re-running ``configure``
207211
in a particular build directory.

0 commit comments

Comments
 (0)