Title: Check and report PEP 11 support tier in configure · Issue #93491 · python/cpython · GitHub
Open Graph Title: Check and report PEP 11 support tier in configure · Issue #93491 · python/cpython
X Title: Check and report PEP 11 support tier in configure · Issue #93491 · python/cpython
Description: Feature or enhancement PEP 11 now defines support tiers based on CPU arch, platform, libc, and compiler. I propose to check the support level in configure and report it to the user. It is trivial to check the platform with a case block. ...
Open Graph Description: Feature or enhancement PEP 11 now defines support tiers based on CPU arch, platform, libc, and compiler. I propose to check the support level in configure and report it to the user. It is trivial t...
X Description: Feature or enhancement PEP 11 now defines support tiers based on CPU arch, platform, libc, and compiler. I propose to check the support level in configure and report it to the user. It is trivial t...
Opengraph URL: https://github.com/python/cpython/issues/93491
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Check and report PEP 11 support tier in configure","articleBody":"**Feature or enhancement**\r\n\r\n[PEP 11](https://peps.python.org/pep-0011/) now defines support tiers based on CPU arch, platform, libc, and compiler. I propose to check the support level in configure and report it to the user. It is trivial to check the platform with a case block. The compiler name can be detect by builtin macro names like ``__clang__``.\r\n\r\nA message at build time makes support tier more obvious to the user. It might even nudge some vendors to contribute fixes and build bots.\r\n\r\nExample:\r\n\r\n```\r\nchecking for PEP 11 support tier... x86_64-pc-linux-gnu/gcc has tier 1 (supported)\r\n```\r\n\r\n```\r\nchecking for PEP 11 support tier... wasm32-unknown-emscripten/clang is not supported\r\n...\r\nconfigure: creating Modules/Setup.local\r\nconfigure: creating Makefile\r\nconfigure:\r\n\r\nIf you want a release build with all stable optimizations active (PGO, etc),\r\nplease run ./configure --enable-optimizations\r\n\r\nconfigure:\r\n\r\nPlatform \"wasm32-unknown-emscripten\" with compiler \"clang\" is not supported by\r\nCPython core team, see https://peps.python.org/pep-0011/ for more information.\r\n```","author":{"url":"https://github.com/tiran","@type":"Person","name":"tiran"},"datePublished":"2022-06-04T10:52:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/93491/cpython/issues/93491"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:34e5a804-8ef2-7f41-fb13-91594236ab41 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9022:34359D:13318D4:1AF5093:696A3D94 |
| html-safe-nonce | 4168a03a7f125194e5ae8d5bd987ac1cfb8e95a6b06c542ad71ab35a05f3460a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDIyOjM0MzU5RDoxMzMxOEQ0OjFBRjUwOTM6Njk2QTNEOTQiLCJ2aXNpdG9yX2lkIjoiODgwODcxODcwNzQwODM4NzQ3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d27a184a820d302b65833e03a6b60c2bfdbcd17752f80fd8211e49a42937d916 |
| hovercard-subject-tag | issue:1260712528 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/93491/issue_layout |
| twitter:image | https://opengraph.githubassets.com/39245b1da87394905a8661f174c4e006a81112f3f4aea0962917c605f2206b68/python/cpython/issues/93491 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/39245b1da87394905a8661f174c4e006a81112f3f4aea0962917c605f2206b68/python/cpython/issues/93491 |
| og:image:alt | Feature or enhancement PEP 11 now defines support tiers based on CPU arch, platform, libc, and compiler. I propose to check the support level in configure and report it to the user. It is trivial t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tiran |
| hostname | github.com |
| expected-hostname | github.com |
| None | 321736bfdb3f591415ae895a0459bec204b26a76caf47ba5c980634cfacc4538 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 13581a31d51edf4a3aca179e10890a4d4f9b6d76 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width