Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2713631

Browse files
gh-101981: Build macOS as recommended by the devguide (GH-102070)
Automerge-Triggered-By: GH:erlend-aasland
1 parentb1b375e commit2713631

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

‎.github/workflows/build.yml‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,19 @@ jobs:
157157
PYTHONSTRICTEXTENSIONBUILD:1
158158
steps:
159159
-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
161163
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
163166
echo "PKG_CONFIG_PATH=$(brew --prefix openssl@1.1)/lib/pkgconfig:$(brew --prefix tcl-tk)/lib/pkgconfig" >> $GITHUB_ENV
164167
-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)"
166173
-name:Build CPython
167174
run:make -j4
168175
-name:Display build info

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp