[Python-checkins] [3.12] CI: Configure macOS build as per updated devguide recommendations (GH-105533) (#105536)

erlend-aasland webhook-mailer at python.org
Thu Jun 8 19:01:00 EDT 2023


https://github.com/python/cpython/commit/68eeab7fdd1afd11bb058df173cab40d9ebe2b06
commit: 68eeab7fdd1afd11bb058df173cab40d9ebe2b06
branch: 3.12
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: erlend-aasland <erlend.aasland at protonmail.com>
date: 2023-06-08T23:00:53Z
summary:

[3.12] CI: Configure macOS build as per updated devguide recommendations (GH-105533) (#105536)

(cherry picked from commit a5f23d411062f9f29f8a7d7ddefe60d5d8e17d2e)

Co-authored-by: Erlend E. Aasland <erlend.aasland at protonmail.com>

files:
M .github/workflows/build.yml

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 99acce905a847..e1d4047a87773 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -242,9 +242,8 @@ jobs:
       run: brew install pkg-config openssl at 1.1 xz gdbm tcl-tk
     - name: Configure CPython
       run: |
-        CFLAGS="-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" \
-        LDFLAGS="-L$(brew --prefix gdbm)/lib -I$(brew --prefix xz)/lib" \
-        PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig" \
+        GDBM_CFLAGS="-I$(brew --prefix gdbm)/include" \
+        GDBM_LIBS="-L$(brew --prefix gdbm)/lib -lgdbm" \
         ./configure \
           --config-cache \
           --with-pydebug \



More information about the Python-checkins mailing list