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

erlend-aasland webhook-mailer at python.org
Thu Jun 8 18:26:10 EDT 2023


https://github.com/python/cpython/commit/a5f23d411062f9f29f8a7d7ddefe60d5d8e17d2e
commit: a5f23d411062f9f29f8a7d7ddefe60d5d8e17d2e
branch: main
author: Erlend E. Aasland <erlend.aasland at protonmail.com>
committer: erlend-aasland <erlend.aasland at protonmail.com>
date: 2023-06-08T22:26:03Z
summary:

CI: Configure macOS build as per updated devguide recommendations (#105533)

files:
M .github/workflows/build.yml

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2aa3b403c73aa..77c2088c71449 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -235,9 +235,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