https://github.com/python/cpython/commit/86be79a2483017f7a233b8a1a7008b8e45129ea1
commit: 86be79a2483017f7a233b8a1a7008b8e45129ea1
branch: main
author: Hugo van Kemenade <[email protected]>
committer: hugovk <[email protected]>
date: 2026-11-02T12:14:32+02:00
summary:
gh-159612: Build macOS CI with the tail-calling interpreter using Xcode clang
(#160778)
files:
M .github/workflows/reusable-macos.yml
M .github/workflows/tail-call.yml
diff --git a/.github/workflows/reusable-macos.yml
b/.github/workflows/reusable-macos.yml
index 2e6e4d6e4c69240..2883a20b612f852 100644
--- a/.github/workflows/reusable-macos.yml
+++ b/.github/workflows/reusable-macos.yml
@@ -51,6 +51,7 @@ jobs:
--enable-slower-safety \
--enable-safety \
${{ inputs.free-threading && '--disable-gil' || '' }} \
+ --with-tail-call-interp \
--prefix=/opt/python-dev \
--with-openssl="$(brew --prefix [email protected])"
- name: Build CPython
diff --git a/.github/workflows/tail-call.yml b/.github/workflows/tail-call.yml
index b828194fffaca8e..1dc5ea1bc51356c 100644
--- a/.github/workflows/tail-call.yml
+++ b/.github/workflows/tail-call.yml
@@ -23,31 +23,6 @@ env:
LLVM_VERSION: 21
jobs:
- macos:
- name: aarch64-apple-darwin/clang
- runs-on: macos-26
- timeout-minutes: 60
- steps:
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
- with:
- persist-credentials: false
- - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 #
v7.0.0
- with:
- python-version: '3.11'
- - name: Install dependencies
- run: |
- brew update
- brew install llvm@${{ env.LLVM_VERSION }}
- - name: Build
- run: |
- export SDKROOT="$(xcrun --show-sdk-path)"
- export PATH="/opt/homebrew/opt/llvm@${{ env.LLVM_VERSION
}}/bin:$PATH"
- CC=clang-${{ env.LLVM_VERSION }} ./configure --with-tail-call-interp
- make all --jobs 4
- - name: Test
- run: |
- ./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2
--verbose3
-
linux:
name: ${{ matrix.target }}
runs-on: ${{ matrix.runner }}
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]