File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -150,8 +150,19 @@ jobs:
150
150
PYTHONSTRICTEXTENSIONBUILD : 1
151
151
steps :
152
152
- uses : actions/checkout@v3
153
+ - name : Install Homebrew dependencies
154
+ run :
brew install pkg-config [email protected] xz gdbm tcl-tk
153
155
- name : Configure CPython
154
- run : ./configure --with-pydebug --with-openssl=/usr/local/opt/openssl --prefix=/opt/python-dev --with-tcltk-includes=-I$(brew --prefix tcl-tk)/include --with-tcltk-libs="-L$(brew --prefix tcl-tk)/lib -ltcl8.6 -ltk8.6"
156
+ run : |
157
+ CFLAGS="-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" \
158
+ LDFLAGS="-L$(brew --prefix gdbm)/lib -L$(brew --prefix xz)/lib" \
159
+ PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig" \
160
+ ./configure \
161
+ --with-pydebug \
162
+ --prefix=/opt/python-dev \
163
+ --with-openssl="$(brew --prefix [email protected] )" \
164
+ --with-tcltk-libs="$(pkg-config --libs tcl tk)" \
165
+ --with-tcltk-includes="$(pkg-config --cflags tcl tk)"
155
166
- name : Build CPython
156
167
run : make -j4
157
168
- name : Display build info
You can’t perform that action at this time.
0 commit comments