GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GH-115869: Reference implementation for hosting JIT stencils by savannahostrowski · Pull Request #129331 · python/cpython

Conversation

@savannahostrowski

@savannahostrowski savannahostrowski commented Jan 27, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

This PR adds logic to generate stencils for Tier 1 platforms in our CI pipeline and checks the corresponding stencil files into the repo.

This PR is in draft as a proof of concept/reference implementation to accompany PEP 774

TODOs:

  • Improve build flag handling/figure out the correct flags to trigger regeneration
  • Clean up host/triple/stencil name verbiage
  • JIT & macOS fat builds #114809 (somewhat unrelated as the JIT currently does not support this, but I'd like to figure this out as well)
  • Issue: Hosting jit_stencils.h #115869

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

stonebig reacted with heart emoji
All reactions
  • ❤️ 1 reaction
savannahostrowski added 16 commits January 14, 2025 19:25
@savannahostrowski
Hosted stencil changes
a6105e6
@savannahostrowski
Add stencils
e9f5c47
@savannahostrowski
Add digest file for local builds
f7b87b4
@savannahostrowski
Use stencil path variable
7ac3442
@savannahostrowski
Merge branch 'main' into host_jit
db4e940
@savannahostrowski
Fix debug builds
047ab27
@savannahostrowski
Fix mypy
9ea2666
@savannahostrowski
Mypy
b384ed1
@savannahostrowski
Update triple
b23f7e7
@savannahostrowski
Undo
231cb23
@savannahostrowski
Rename workflow step and apply stencils
9f18b7e
@savannahostrowski
Remove windows aarch stencil and update README
406e936
@savannahostrowski
Debugging
f5bf9cd
@savannahostrowski
print config args
13bfc68
@savannahostrowski
Simplify flags for now
a34fa62
@savannahostrowski
Update stencils
3a3fa75
@savannahostrowski savannahostrowski added build The build process and cross-build topic-JIT labels Jan 27, 2025
@bedevere-app bedevere-app Bot mentioned this pull request Jan 27, 2025
Hosting jit_stencils.h #115869
Open
@blurb-it
📜🤖 Added by blurb_it.
9ceb522
savannahostrowski
savannahostrowski commented Jan 27, 2025
View reviewed changes
Comment thread .github/workflows/jit.yml
- x86_64-apple-darwin/clang
- aarch64-apple-darwin/clang
- x86_64-unknown-linux-gnu/gcc
- x86_64-pc-linux-gnu/gcc

@savannahostrowski savannahostrowski Jan 27, 2025

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out that this was actually running on pc the whole time and the superficial name was incorrect.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
chris-eibl
chris-eibl reviewed Jan 28, 2025
View reviewed changes
Comment thread Tools/jit/README.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

savannahostrowski added 4 commits February 10, 2025 19:23
@savannahostrowski
Fix typo
84b42f1
@savannahostrowski
Merge branch 'main' into host_jit
beab423
@savannahostrowski
Apply patch
d3508b2
@savannahostrowski
Merge branch 'main' into host_jit
b9fc9c6
@savannahostrowski savannahostrowski mentioned this pull request Aug 2, 2025
GH-137218: Update make for JIT stencils #137265
Merged
@savannahostrowski savannahostrowski closed this Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chris-eibl chris-eibl chris-eibl left review comments
@brandtbucher brandtbucher Awaiting requested review from brandtbucher brandtbucher will be requested when the pull request is marked ready for review brandtbucher is a code owner
@diegorusso diegorusso Awaiting requested review from diegorusso diegorusso will be requested when the pull request is marked ready for review diegorusso is a code owner
@hugovk hugovk Awaiting requested review from hugovk hugovk will be requested when the pull request is marked ready for review hugovk is a code owner
@JacobCoffee JacobCoffee Awaiting requested review from JacobCoffee JacobCoffee will be requested when the pull request is marked ready for review JacobCoffee is a code owner
@StanFromIreland StanFromIreland Awaiting requested review from StanFromIreland StanFromIreland will be requested when the pull request is marked ready for review StanFromIreland is a code owner
@ezio-melotti ezio-melotti Awaiting requested review from ezio-melotti ezio-melotti will be requested when the pull request is marked ready for review ezio-melotti is a code owner
@AA-Turner AA-Turner Awaiting requested review from AA-Turner AA-Turner will be requested when the pull request is marked ready for review AA-Turner is a code owner
@webknjaz webknjaz Awaiting requested review from webknjaz webknjaz will be requested when the pull request is marked ready for review webknjaz is a code owner
@itamaro itamaro Awaiting requested review from itamaro itamaro will be requested when the pull request is marked ready for review itamaro is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

build The build process and cross-build topic-JIT

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@savannahostrowski @chris-eibl
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.