]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-140889: Test tailcall and JIT in CI (GH-140891) (GH-140962)
authorKen Jin <kenjin@python.org>
Mon, 3 Nov 2025 19:53:10 +0000 (03:53 +0800)
committerGitHub <noreply@github.com>
Mon, 3 Nov 2025 19:53:10 +0000 (19:53 +0000)
.github/workflows/jit.yml

index c7baad7d68138eb5c708e44c7a801fc504c36e54..122a07d4bae29ad1504f120d5398a62a93e972b2 100644 (file)
@@ -152,3 +152,26 @@ jobs:
   #     - name: Run tests
   #       run: |
   #         ./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
+  tail-call-jit:
+    name: JIT with tail calling interpreter
+    needs: interpreter
+    runs-on: ubuntu-24.04
+    timeout-minutes: 90
+    strategy:
+      fail-fast: false
+      matrix:
+        llvm:
+          - 19
+    steps:
+      - uses: actions/checkout@v4
+        with:
+          persist-credentials: false
+      - uses: actions/setup-python@v5
+        with:
+          python-version: '3.11'
+      - name: Build with JIT and tailcall
+        run: |
+          sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
+          export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
+          CC=clang-${{ matrix.llvm }} ./configure --enable-experimental-jit --with-tail-call-interp --with-pydebug
+          make all --jobs 4