Skip to content

Commit 09c890e

Browse files
[3.14] pythongh-140889: Test tailcall and JIT in CI (pythonGH-140891) (pythonGH-140962)
1 parent 894b528 commit 09c890e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/jit.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,3 +152,26 @@ jobs:
152152
# - name: Run tests
153153
# run: |
154154
# ./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
155+
tail-call-jit:
156+
name: JIT with tail calling interpreter
157+
needs: interpreter
158+
runs-on: ubuntu-24.04
159+
timeout-minutes: 90
160+
strategy:
161+
fail-fast: false
162+
matrix:
163+
llvm:
164+
- 19
165+
steps:
166+
- uses: actions/checkout@v4
167+
with:
168+
persist-credentials: false
169+
- uses: actions/setup-python@v5
170+
with:
171+
python-version: '3.11'
172+
- name: Build with JIT and tailcall
173+
run: |
174+
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
175+
export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
176+
CC=clang-${{ matrix.llvm }} ./configure --enable-experimental-jit --with-tail-call-interp --with-pydebug
177+
make all --jobs 4

0 commit comments

Comments
 (0)