Skip to content

Commit 69463e6

Browse files
committed
gh-1547: Remove --config-cache from platform-specific configure commands
1 parent 05ad04c commit 69463e6

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

getting-started/setup-building.rst

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ to learn more about these options.
288288

289289
.. code:: console
290290
291-
$ ./configure --config-cache --enable-optimizations --with-lto
291+
$ ./configure --enable-optimizations --with-lto
292292
293293
.. _windows-compiling:
294294

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

870870
$ GDBM_CFLAGS="-I$(brew --prefix gdbm)/include" \
871871
GDBM_LIBS="-L$(brew --prefix gdbm)/lib -lgdbm" \
872-
./configure --config-cache \
873-
--with-pydebug \
872+
./configure --with-pydebug \
874873
--with-openssl="$(brew --prefix openssl@3)"
875874

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

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

903901
$ GDBM_CFLAGS="-I$(dirname $(dirname $(which port)))/include" \
904902
GDBM_LIBS="-L$(dirname $(dirname $(which port)))/lib -lgdbm" \
905-
./configure --config-cache \
906-
--with-pydebug \
903+
./configure --with-pydebug \
907904
--with-system-libmpdec
908905

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

913910
$ GDBM_CFLAGS="-I$(dirname $(dirname $(which port)))/include" \
914911
GDBM_LIBS="-L$(dirname $(dirname $(which port)))/lib -lgdbm" \
915-
./configure --config-cache \
916-
--with-pydebug
912+
./configure --with-pydebug
917913

918914
And finally, run ``make``::
919915

0 commit comments

Comments
 (0)