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 — Test BOLT builds in CI · Issue #128515 · python/cpython

Test BOLT builds in CI #128515

New issue
Copy link
New issue
Copy link
Closed
Closed
Test BOLT builds in CI#128515
Copy link
Labels
buildThe build process and cross-buildThe build process and cross-buildinfraCI, GitHub Actions, buildbots, Dependabot, etc.CI, GitHub Actions, buildbots, Dependabot, etc.type-featureA feature request or enhancementA feature request or enhancement

Description

@zanieb
zanieb
opened on Jan 5, 2025
Issue body actions

Feature or enhancement

As part of #101525, we should run BOLT optimizations in CI.

It looks like optimizations aren't tested in CI right now, just on the build bots? I could use some guidance on the best place for this.

Linked PRs

  • gh-128515: Add BOLT build to CI #128845
  • gh-128515: Properly check for bolt in test_perf_profiler #131058
Reacted by Donghee Na

Activity

  1. zanieb
    added
    type-featureA feature request or enhancementA feature request or enhancement
    buildThe build process and cross-buildThe build process and cross-build
    infraCI, GitHub Actions, buildbots, Dependabot, etc.CI, GitHub Actions, buildbots, Dependabot, etc.
    on Jan 5, 2025
  2. corona10 commented on Jan 5, 2025

    @corona10
    corona10
    on Jan 5, 2025
    Member
    More actions

    JIT project currently use LLVM 19, I think that we can specify same version as well.

    cpython/.github/workflows/jit.yml

    Lines 63 to 64 in b60044b

    llvm:
    - 19

  3. corona10 commented on Jan 7, 2025

    @corona10
    corona10
    on Jan 7, 2025
    Member
    More actions

    @hugovk cc @zanieb
    It will take around 20 minutes running time, I guess.
    Is it okay to add the CI when PR is merged to the main branch only?

    The other option will be adding it to the build bot through my Azure machine with OSS credit. But we may need to get sponsor if it requires more than 2vcpu + 8gb ram.

  4. hugovk commented on Jan 8, 2025

    @hugovk
    hugovk
    on Jan 8, 2025
    Member
    More actions

    Is it okay to add the CI when PR is merged to the main branch only?

    Do you mean run only after a PR is merged? I'm less keen on this, it would mean if a PR breaks it, we won't see it immediately until after merging the breaking change. And it could be some time before someone notices a post-merge build fails, and it would take time to track it down.

    I think it would be better as part of the main CI so we catch breaks before merge.

    Because it needs LLVM, does that mean it will this need to be a new job, and we can't add it to an existing job?

    Here's a visualisation of a recent build of the main build workflow from Datadog 🔒:

    image

    The total build was 23.5 mins.

    The current bottleneck is free-threaded Windows, the yellow bars, at 22.5 mins.

    The next are 3 x CIFuzz, the purple-ish and blue bars, at 19-21.5 mins.

    We get max 20 concurrent jobs (but only max 5 for macOS), but I'm hoping we can get upgraded soon. Anyway, I think it should be okay to add a new job.

    Reacted by Zanie Blue
  5. corona10
    added a commit that references this issue on Jan 18, 2025

    gh-128515: Add BOLT build to CI (gh-128845)

    9ed7bf2
  6. corona10
    closed this as completedon Jan 18, 2025
  7. srinivasreddy
    added a commit that references this issue on Jan 21, 2025

    pythongh-128515: Add BOLT build to CI (pythongh-128845)

    707e4b0
  8. pablogsal
    added 2 commits that reference this issue on Mar 10, 2025

    pythongh-128515: Properly check for bolt in test_perf_profiler

    2da4d60

    gh-128515: Properly check for bolt in test_perf_profiler (#131058)

    fd3b49e
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

    buildThe build process and cross-buildThe build process and cross-buildinfraCI, GitHub Actions, buildbots, Dependabot, etc.CI, GitHub Actions, buildbots, Dependabot, etc.type-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.