-
-
Notifications
You must be signed in to change notification settings - Fork 33k
GH-131278: Support building using "computed gotos" for clang-cl on Windows #131279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 6 commits
98de4c1
86cb64e
3aabeea
ca22c81
897c527
1f5b55f
905d2e4
fd3cb86
59dac20
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -1437,6 +1437,11 @@ Build changes | |||||
with :c:expr:`Py_NO_LINK_LIB`. (Contributed by Jean-Christophe | ||||||
Fillion-Robin in :gh:`82909`.) | ||||||
|
||||||
* building with clang-cl on Windows now supports PGO (profile guided | ||||||
optimization), uses ``-flto=thin`` and can be configured to use | ||||||
|
optimization), uses ``-flto=thin`` and can be configured to use | |
optimization), and can be configured to use |
Is using -flto=thin
important to call out? It shouldn't change the ABI of the build output at all, and it's not configurable.
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO "computed gotos and/or tail calls" would be better here, but up to @Fidget-Spinner 's liking :)
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,2 @@ | ||||||||||
Add optimizing flag ``WITH_COMPUTED_GOTOS`` to support such builds using | ||||||||||
clang-cl on Windows. Patch by Chris Eibl. | ||||||||||
chris-eibl marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
Add optimizing flag ``WITH_COMPUTED_GOTOS`` to support such builds using | |
clang-cl on Windows. Patch by Chris Eibl. | |
Add optimizing flag ``WITH_COMPUTED_GOTOS`` to Windows builds for when | |
using a compiler that supports it (currently clang-cl). Patch by Chris Eibl. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.