Skip to content

Conversation

@chris-eibl
Copy link
Member

@chris-eibl chris-eibl commented Nov 28, 2025

Just re-use them in the PGUpdate phase: by using the same folder as in the PGInstrument phase, the hash will just match and the stencils are not built again. This saves time, especially on old PCs like mine, where the stencils generation takes about a minute.

@gpshead gpshead added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Nov 29, 2025
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @gpshead for commit fb17f11 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F142043%2Fmerge

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Nov 29, 2025
@gpshead gpshead merged commit f2ca158 into python:main Nov 29, 2025
121 of 123 checks passed
@gpshead gpshead added the needs backport to 3.14 bugs and security fixes label Nov 29, 2025
@miss-islington-app
Copy link

Thanks @chris-eibl for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 29, 2025
…O builds on Windows. (pythonGH-142043)

* do not build the jit stencils twice in case of PGO builds on Windows

* blurb it
(cherry picked from commit f2ca158)

Co-authored-by: Chris Eibl <138194463+chris-eibl@users.noreply.github.com>
@bedevere-app
Copy link

bedevere-app bot commented Nov 29, 2025

GH-142100 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Nov 29, 2025
@gpshead gpshead added the build The build process and cross-build label Nov 29, 2025
gpshead pushed a commit that referenced this pull request Nov 29, 2025
…GO builds on Windows. (GH-142043) (#142100)

GH-141808: Do not generate the jit stencils twice in case of PGO builds on Windows. (GH-142043)

* do not build the jit stencils twice in case of PGO builds on Windows

* blurb it
(cherry picked from commit f2ca158)

Co-authored-by: Chris Eibl <138194463+chris-eibl@users.noreply.github.com>
@chris-eibl chris-eibl deleted the stencils-not-twice branch November 30, 2025 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build The build process and cross-build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants