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

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
gh-1547: Remove --config-cache from platform-specific configure commands
  • Loading branch information
johnslavik committed Apr 22, 2026
commit 69463e6ab9ee046c707f4f35ef02180bcdc06efc
14 changes: 5 additions & 9 deletions getting-started/setup-building.rst
Comment thread
johnslavik marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ to learn more about these options.

.. code:: console

$ ./configure --config-cache --enable-optimizations --with-lto
$ ./configure --enable-optimizations --with-lto

.. _windows-compiling:

Expand Down Expand Up @@ -869,8 +869,7 @@ some of CPython's modules (for example, ``zlib``).

$ GDBM_CFLAGS="-I$(brew --prefix gdbm)/include" \
GDBM_LIBS="-L$(brew --prefix gdbm)/lib -lgdbm" \
./configure --config-cache \
--with-pydebug \
./configure --with-pydebug \
--with-openssl="$(brew --prefix openssl@3)"

.. tab:: Python 3.10
Expand All @@ -879,8 +878,7 @@ some of CPython's modules (for example, ``zlib``).

$ CPPFLAGS="-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" \
LDFLAGS="-L$(brew --prefix gdbm)/lib -L$(brew --prefix xz)/lib" \
./configure --config-cache \
--with-pydebug \
./configure --with-pydebug \
--with-openssl="$(brew --prefix openssl@3)" \
--with-tcltk-libs="$(pkg-config --libs tcl tk)" \
--with-tcltk-includes="$(pkg-config --cflags tcl tk)" \
Expand All @@ -902,8 +900,7 @@ some of CPython's modules (for example, ``zlib``).

$ GDBM_CFLAGS="-I$(dirname $(dirname $(which port)))/include" \
GDBM_LIBS="-L$(dirname $(dirname $(which port)))/lib -lgdbm" \
./configure --config-cache \
--with-pydebug \
./configure --with-pydebug \
--with-system-libmpdec

.. tab:: Python 3.11-3.12
Expand All @@ -912,8 +909,7 @@ some of CPython's modules (for example, ``zlib``).

$ GDBM_CFLAGS="-I$(dirname $(dirname $(which port)))/include" \
GDBM_LIBS="-L$(dirname $(dirname $(which port)))/lib -lgdbm" \
./configure --config-cache \
--with-pydebug
./configure --with-pydebug

And finally, run ``make``::

Expand Down
Loading