-
-
Notifications
You must be signed in to change notification settings - Fork 30.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
(cherry picked from commit 34e93d3) Co-authored-by: Erlend E. Aasland <[email protected]>
- Loading branch information
1 parent
ce93371
commit 38b489b
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -153,15 +153,16 @@ jobs: | |
PYTHONSTRICTEXTENSIONBUILD: 1 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Homebrew dependencies | ||
run: brew install pkg-config [email protected] xz gdbm tcl-tk | ||
- name: Configure CPython | ||
run: | | ||
brew install pkg-config [email protected] 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 | ||
|