| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -157,12 +157,19 @@ jobs: | |||
| 157 | 157 | PYTHONSTRICTEXTENSIONBUILD: 1 | |
| 158 | 158 | steps: | |
| 159 | 159 | - uses: actions/checkout@v3 | |
| 160 | - - name: Prepare homebrew environment variables | ||
| 160 | + - name: Install Homebrew dependencies | ||
| 161 | + run: brew install pkg-config openssl@1.1 xz gdbm tcl-tk | ||
| 162 | + - name: Prepare Homebrew environment variables | ||
| 161 | 163 | run: | | |
| 162 | - echo "LDFLAGS=-L$(brew --prefix tcl-tk)/lib" >> $GITHUB_ENV | ||
| 164 | + echo "CFLAGS=-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" >> $GITHUB_ENV | ||
| 165 | + echo "LDFLAGS=-L$(brew --prefix gdbm)/lib -I$(brew --prefix xz)/lib" >> $GITHUB_ENV | ||
| 163 | 166 | echo "PKG_CONFIG_PATH=$(brew --prefix openssl@1.1)/lib/pkgconfig:$(brew --prefix tcl-tk)/lib/pkgconfig" >> $GITHUB_ENV | |
| 164 | 167 | - name: Configure CPython | |
| 165 | - run: ./configure --with-pydebug --prefix=/opt/python-dev | ||
| 168 | + run: | | ||
| 169 | + ./configure \ | ||
| 170 | + --with-pydebug \ | ||
| 171 | + --prefix=/opt/python-dev \ | ||
| 172 | + --with-openssl="$(brew --prefix openssl@1.1)" | ||
| 166 | 173 | - name: Build CPython | |
| 167 | 174 | run: make -j4 | |
| 168 | 175 | - name: Display build info | |
| Back | FazBrowse Home | New Git URL |
0 commit comments