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

Commit95751b9

Browse files
gh-101981: Build macOS as recommended by the devguide (GH-102070)
(cherry picked from commit2713631)Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>Automerge-Triggered-By: GH:erlend-aasland
1 parent4969903 commit95751b9

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
@@ -190,12 +190,19 @@ jobs:
190190
PYTHONSTRICTEXTENSIONBUILD:1
191191
steps:
192192
-uses:actions/checkout@v3
193-
-name:Prepare homebrew environment variables
193+
-name:Install Homebrew dependencies
194+
run:brew install pkg-config openssl@1.1 xz gdbm tcl-tk
195+
-name:Prepare Homebrew environment variables
194196
run:|
195-
echo "LDFLAGS=-L$(brew --prefix tcl-tk)/lib" >> $GITHUB_ENV
197+
echo "CFLAGS=-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" >> $GITHUB_ENV
198+
echo "LDFLAGS=-L$(brew --prefix gdbm)/lib -I$(brew --prefix xz)/lib" >> $GITHUB_ENV
196199
echo "PKG_CONFIG_PATH=$(brew --prefix openssl@1.1)/lib/pkgconfig:$(brew --prefix tcl-tk)/lib/pkgconfig" >> $GITHUB_ENV
197200
-name:Configure CPython
198-
run:./configure --with-pydebug --prefix=/opt/python-dev
201+
run:|
202+
./configure \
203+
--with-pydebug \
204+
--prefix=/opt/python-dev \
205+
--with-openssl="$(brew --prefix openssl@1.1)"
199206
-name:Build CPython
200207
run:make -j4
201208
-name:Display build info

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp