Skip to content

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

Closed
@chris-eibl

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

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