Skip to content

Commit a620d45

Browse files
authored
[3.14] gh-159612: Build macOS CI with the tail-calling interpreter using Xcode clang (GH-160778) (#161169)
1 parent 0b96f1c commit a620d45

2 files changed

Lines changed: 1 addition & 25 deletions

File tree

‎.github/workflows/reusable-macos.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
--enable-slower-safety \
5454
--enable-safety \
5555
${{ inputs.free-threading && '--disable-gil' || '' }} \
56+
--with-tail-call-interp \
5657
--prefix=/opt/python-dev \
5758
--with-openssl="$(brew --prefix openssl@3.0)"
5859
- name: Build CPython

‎.github/workflows/tail-call.yml‎

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -57,31 +57,6 @@ jobs:
5757
run: |
5858
./PCbuild/rt.bat -p ${{ matrix.architecture }} -q --multiprocess 0 --timeout 4500 --verbose2 --verbose3
5959
60-
macos:
61-
name: aarch64-apple-darwin/clang
62-
runs-on: macos-26
63-
timeout-minutes: 60
64-
steps:
65-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
66-
with:
67-
persist-credentials: false
68-
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
69-
with:
70-
python-version: '3.11'
71-
- name: Install dependencies
72-
run: |
73-
brew update
74-
brew install llvm@${{ env.LLVM_VERSION }}
75-
- name: Build
76-
run: |
77-
export SDKROOT="$(xcrun --show-sdk-path)"
78-
export PATH="/opt/homebrew/opt/llvm@${{ env.LLVM_VERSION }}/bin:$PATH"
79-
CC=clang-${{ env.LLVM_VERSION }} ./configure --with-tail-call-interp
80-
make all --jobs 4
81-
- name: Test
82-
run: |
83-
./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
84-
8560
linux:
8661
name: ${{ matrix.target }}
8762
runs-on: ${{ matrix.runner }}

0 commit comments

Comments
 (0)