mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
[3.9] gh-89452: GHA: Set --with-dbmliborder to avoid issues with homebrew's gdbm 1.24 (GH-125112) (#125176)
Per https://github.com/python/cpython/issues/89452GH-issuecomment-1116329316,
the issue is fixed in configure for 3.11+, and
> For older Python versions, the workaround is to build with:
>
> ./configure --with-dbmliborder=gdbm:ndbm
We need this workaround in GitHub Actions, otherwise the tests fail.
(cherry picked from commit 850189a64e
)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
This commit is contained in:
parent
681e0fa658
commit
be988e8aa6
1 changed files with 3 additions and 1 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -168,7 +168,9 @@ jobs:
|
|||
--with-pydebug \
|
||||
--with-openssl="$(brew --prefix openssl@3.0)" \
|
||||
--with-tcltk-libs="$(pkg-config --libs tk)" \
|
||||
--with-tcltk-includes="$(pkg-config --cflags tk)"
|
||||
--with-tcltk-includes="$(pkg-config --cflags tk)" \
|
||||
--with-dbmliborder=gdbm:ndbm
|
||||
# (--with-dbmliborder needed for homebrew's gdbm 1.24: see gh-89452)
|
||||
- name: Build CPython
|
||||
run: make -j4
|
||||
- name: Display build info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue