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 — Overhaul build system rules related to profiling · Issue #104523 · python/cpython

Overhaul build system rules related to profiling #104523

New issue
Copy link
New issue
Copy link
Closed
Closed
Overhaul build system rules related to profiling#104523
Copy link
Labels
3.13only security fixesonly security fixesbuildThe build process and cross-buildThe build process and cross-buildtype-featureA feature request or enhancementA feature request or enhancement

Description

@indygreg
indygreg
opened on May 16, 2023
Issue body actions

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

  • gh-104523: inline minimal PGO rules #104524
  • [WIP] gh-104523 overhaul build rules for optimized binaries #104525
  • gh-104523: Use dynamic rule for compiling libmpdec and libexpat #104574

Activity

  1. indygreg
    added
    type-featureA feature request or enhancementA feature request or enhancement
    on May 16, 2023
  2. indygreg
    added 3 commits that reference this issue on May 16, 2023

    pythongh-104523: inline minimal PGO rules

    8eb0b50

    pythongh-104523: inline minimal PGO rules

    dd66e38

    pythongh-104523 overhaul build rules for optimized binaries

    5e9c715
  3. arhadthedev
    added
    buildThe build process and cross-buildThe build process and cross-build
    on May 16, 2023
  4. erlend-aasland
    added a commit that references this issue on May 16, 2023

    gh-104523: Inline minimal PGO rules (#104524)

    9084e1b
  5. carljm
    added a commit that references this issue on May 16, 2023

    Merge branch 'main' into supermon

    a6dd626
  6. indygreg
    added a commit that references this issue on May 17, 2023

    pythongh-104523: use dynamic rule for compiling libmpdec and libexpat

    b6c2c3e
  7. arhadthedev
    added
    3.13only security fixesonly security fixes
    on May 17, 2023
  8. indygreg
    added a commit that references this issue on May 18, 2023

    pythongh-104523: use dynamic rule for compiling libmpdec and libexpat

    44eda25
  9. vstinner
    closed this as completedon Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13only security fixesonly security fixesbuildThe build process and cross-buildThe build process and cross-buildtype-featureA feature request or enhancementA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      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.