mirror of https://github.com/python/cpython.git
[3.9] CI: Bump macOS build to use OpenSSL v3.0 (GH-105538) (#105871)
(cherry picked from commit 34e93d3998
)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
This commit is contained in:
parent
ce93371488
commit
38b489bae8
|
@ -153,15 +153,16 @@ jobs:
|
|||
PYTHONSTRICTEXTENSIONBUILD: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install Homebrew dependencies
|
||||
run: brew install pkg-config openssl@3.0 xz gdbm tcl-tk
|
||||
- name: Configure CPython
|
||||
run: |
|
||||
brew install pkg-config openssl@1.1 xz gdbm tcl-tk
|
||||
CC=clang \
|
||||
CPPFLAGS="-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" \
|
||||
LDFLAGS="-L$(brew --prefix gdbm)/lib -L$(brew --prefix xz)/lib" \
|
||||
./configure --prefix=/opt/python-dev \
|
||||
--with-pydebug \
|
||||
--with-openssl="$(brew --prefix openssl@1.1)" \
|
||||
--with-openssl="$(brew --prefix openssl@3.0)" \
|
||||
--with-tcltk-libs="$(pkg-config --libs tk)" \
|
||||
--with-tcltk-includes="$(pkg-config --cflags tk)"
|
||||
- name: Build CPython
|
||||
|
|
Loading…
Reference in New Issue