Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion .github/workflows/jit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,27 @@ jobs:
timeout-minutes: 90
steps:
- uses: actions/checkout@v4
- name: Build tier two interpreter
- name: Configure tier two interpreter
run: |
./configure --enable-experimental-jit=interpreter --with-pydebug
- name: Regen JIT
run: |
make regen-jit
- name: Check for changes
run: |
git add -u
changes=$(git status --porcelain)
# Check for changes in regenerated files
if test -n "$changes"; then
echo "Generated files not up to date."
echo "Perhaps you forgot to run make regen-jit. ;)"
echo "$changes"
echo ""
git diff --staged || true
exit 1
fi
- name: Build tier two interpreter
run: |
make all --jobs 4
- name: Test tier two interpreter
run: |
Expand Down
4 changes: 2 additions & 2 deletions Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -1665,10 +1665,10 @@ regen-unicodedata:
regen-all: regen-cases regen-typeslots \
regen-token regen-ast regen-keyword regen-sre regen-frozen \
regen-pegen-metaparser regen-pegen regen-test-frozenmain \
regen-test-levenshtein regen-global-objects regen-jit
regen-test-levenshtein regen-global-objects
@echo
@echo "Note: make regen-stdlib-module-names, make regen-limited-abi, "
@echo "make regen-configure, make regen-sbom, and make regen-unicodedata should be run manually"
@echo "make regen-configure, make regen-sbom, make regen-jit, and make regen-unicodedata should be run manually"

############################################################################
# Special rules for object files
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The ``regen-jit`` make target is no longer part of ``regen-all`` to avoid various
race conditions when running ``regen-all``.