Skip to content

Commit 091f2fc

Browse files
committed
gh-1547: Add --config-cache to macOS platform-specific configure commands
1 parent f9a2af1 commit 091f2fc

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

getting-started/setup-building.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,8 @@ some of CPython's modules (for example, ``zlib``).
874874

875875
$ GDBM_CFLAGS="-I$(brew --prefix gdbm)/include" \
876876
GDBM_LIBS="-L$(brew --prefix gdbm)/lib -lgdbm" \
877-
./configure --with-pydebug \
877+
./configure --config-cache \
878+
--with-pydebug \
878879
--with-openssl="$(brew --prefix openssl@3)"
879880

880881
.. tab:: Python 3.10
@@ -883,7 +884,8 @@ some of CPython's modules (for example, ``zlib``).
883884

884885
$ CPPFLAGS="-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" \
885886
LDFLAGS="-L$(brew --prefix gdbm)/lib -L$(brew --prefix xz)/lib" \
886-
./configure --with-pydebug \
887+
./configure --config-cache \
888+
--with-pydebug \
887889
--with-openssl="$(brew --prefix openssl@3)" \
888890
--with-tcltk-libs="$(pkg-config --libs tcl tk)" \
889891
--with-tcltk-includes="$(pkg-config --cflags tcl tk)" \
@@ -905,7 +907,8 @@ some of CPython's modules (for example, ``zlib``).
905907

906908
$ GDBM_CFLAGS="-I$(dirname $(dirname $(which port)))/include" \
907909
GDBM_LIBS="-L$(dirname $(dirname $(which port)))/lib -lgdbm" \
908-
./configure --with-pydebug \
910+
./configure --config-cache \
911+
--with-pydebug \
909912
--with-system-libmpdec
910913

911914
.. tab:: Python 3.11-3.12
@@ -914,7 +917,8 @@ some of CPython's modules (for example, ``zlib``).
914917

915918
$ GDBM_CFLAGS="-I$(dirname $(dirname $(which port)))/include" \
916919
GDBM_LIBS="-L$(dirname $(dirname $(which port)))/lib -lgdbm" \
917-
./configure --with-pydebug
920+
./configure --config-cache \
921+
--with-pydebug
918922

919923
And finally, run ``make``::
920924

0 commit comments

Comments
 (0)