Content-Length: 294915 | pFad | https://github.com/python/cpython/issues/141808

6E Build with PGO needlesly generates JIT stencils twice (and prevents usage of prebuilt stencils) · Issue #141808 · python/cpython · GitHub
Skip to content

Build with PGO needlesly generates JIT stencils twice (and prevents usage of prebuilt stencils) #141808

@hroncok

Description

@hroncok

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildtopic-JITtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/141808

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy