From 784343b34c275cf9575cc6a8304e9ad2419a4bf7 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 2 Nov 2026 12:14:32 +0200 Subject: [PATCH] [3.14] gh-159612: Build macOS CI with the tail-calling interpreter using Xcode clang (GH-160778) (cherry picked from commit 86be79a2483017f7a233b8a1a7008b8e45129ea1) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- .github/workflows/reusable-macos.yml | 1 + .github/workflows/tail-call.yml | 25 ------------------------- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/.github/workflows/reusable-macos.yml b/.github/workflows/reusable-macos.yml index a71cf6d7c55006..70f31a306fc97c 100644 --- a/.github/workflows/reusable-macos.yml +++ b/.github/workflows/reusable-macos.yml @@ -53,6 +53,7 @@ jobs: --enable-slower-safety \ --enable-safety \ ${{ inputs.free-threading && '--disable-gil' || '' }} \ + --with-tail-call-interp \ --prefix=/opt/python-dev \ --with-openssl="$(brew --prefix openssl@3.0)" - name: Build CPython diff --git a/.github/workflows/tail-call.yml b/.github/workflows/tail-call.yml index e6707f084bc887..47abb9e8411568 100644 --- a/.github/workflows/tail-call.yml +++ b/.github/workflows/tail-call.yml @@ -57,31 +57,6 @@ jobs: run: | ./PCbuild/rt.bat -p ${{ matrix.architecture }} -q --multiprocess 0 --timeout 4500 --verbose2 --verbose3 - 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 }}