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 — Support building using "computed gotos" for clang-cl on Windows · Issue #131278 · python/cpython

Support building using "computed gotos" for clang-cl on Windows #131278

New issue
Copy link
New issue
Copy link
Closed
Closed
Support building using "computed gotos" for clang-cl on Windows#131278
Copy link
Labels
OS-windowsbuildThe build process and cross-buildThe build process and cross-buildperformancePerformance or resource usagePerformance or resource usagetype-featureA feature request or enhancementA feature request or enhancement

Description

@chris-eibl
chris-eibl
opened on Mar 15, 2025
Issue body actions

Per suggestion from @zooba in #130040 (comment), don't be too fancy here:

  • just support a new optimizing build flag WITH_COMPUTED_GOTOS and keep build.bat out of the loop. It does not have to learn such flags. It already knows too many of them "which could just be passed through".
  • only test for != '' rather than a specific value.
  • no magic defaults - explicit is better than implicit. If it is there, it's enabled, else it's disabled.
  • but document like set WITH_COMPUTED_GOTOS=true
  • this would give us the possibility to opt out using WITH_COMPUTED_GOTOS=false, should we ever enable it by default (and the user does not like our guess)

Linked PRs

  • GH-131278: Support building using "computed gotos" for clang-cl on Windows #131279

Activity

  1. picnixz
    added
    type-featureA feature request or enhancementA feature request or enhancement
    performancePerformance or resource usagePerformance or resource usage
    OS-windows
    buildThe build process and cross-buildThe build process and cross-build
    on Mar 15, 2025
  2. zooba
    added a commit that references this issue on Mar 17, 2025

    GH-131278: Add option to build with computed gotos on Windows with cl…

    468a7aa
  3. zooba
    closed this as completedon Mar 17, 2025
  4. zooba commented on Mar 17, 2025

    @zooba
    zooba
    on Mar 17, 2025
    Member
    More actions

    Thanks!

  5. colesbury
    added a commit that references this issue on Mar 20, 2025

    pythonGH-131278: Add option to build with computed gotos on Windows w…

    ca39b4f
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

    OS-windowsbuildThe build process and cross-buildThe build process and cross-buildperformancePerformance or resource usagePerformance or resource usagetype-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.