Skip to content

Overhaul build system rules related to profiling #104523

Open
@indygreg

Description

@indygreg

Feature or enhancement

I have a stack of patches in #101093 to overhaul build system rules related to PGO and BOLT. This issue tracks the merging of them.

Roughly:

  • gh-xxxx: inline minimal PGO rules to simplify Makefile
  • gh-xxxx: overhaul build rules for profile optimized binaries
  • gh-xxxx: various BOLT config changes
  • gh-xxxx: enable BOLT of libpython (this is the one we care about)

I'm scope bloating myself to fix various bugs in PGO/BOLT as part of this refactor. For example, the build system today has a rather crude method of determining if a binary is PGO/BOLT instrumented or needs optimization. This set of changes will fix that so that proper dependencies in the make DAG capture the state of things.

Read the commit messages for the commits in #101093 to get a preview of what's to come.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixesbuildThe build process and cross-buildtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions