hroncok · GitHub

Bug report

Bug description:

Based on https://discuss.python.org/t/building-the-jit-with-pre-built-stencils/91838/12 I open this issue to have an issue number to reference in an upcoming PR.

When a build with PGO optimizations is used, the JIT stencils are generated, then deleted, and then generated again. The generated JIT stencils are bit-by-bit identical to each other, so I believe there is no need to delete them mid-build. Not deleting them is also a prerequisite for Fedora to be able to use pre-built JIT stencils on platforms without the required LLVM version.

CPython versions tested on:

3.15, CPython main branch

Operating systems tested on:

Linux

Linked PRs

Read the original on github.com ↗