Visitar URL original
Support building using "computed gotos" for clang-cl on Windows · Issue #131278 · python/cpython · GitHub
Skip to content

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

Description

@chris-eibl

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

Activity

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

    @zooba
    Member

    Thanks!

  4. added a commit that references this issue on Mar 20, 2025
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-buildperformancePerformance or resource usagetype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions