René's URL Explorer Experiment


Title: bpo-45881: Use CC from env first for cross building (GH-29752) by tiran · Pull Request #29752 · python/cpython · GitHub

Open Graph Title: bpo-45881: Use CC from env first for cross building (GH-29752) by tiran · Pull Request #29752 · python/cpython

X Title: bpo-45881: Use CC from env first for cross building (GH-29752) by tiran · Pull Request #29752 · python/cpython

Description: setup.py now uses CC from environment first to discover multiarch and cross compile paths. The sysconfig variable contains the value for the build host. The patch also re-arranges set_compiler_exec...

Open Graph Description: setup.py now uses CC from environment first to discover multiarch and cross compile paths. The sysconfig variable contains the value for the build host. The patch also re-arranges set_compiler_exec...

X Description: setup.py now uses CC from environment first to discover multiarch and cross compile paths. The sysconfig variable contains the value for the build host. The patch also re-arranges set_compiler_exec...

Mail addresses
christian@python.org

Opengraph URL: https://github.com/python/cpython/pull/29752

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:3b3ecb7c-3e78-6c65-a30c-a229b7429ff6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC572:28B0D7:BBECDB:108E969:696A1F71
html-safe-nonce4d8f5adb380baebe834de2df258107c639c83afb341e37dd2af2572bfb6fac03
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTcyOjI4QjBENzpCQkVDREI6MTA4RTk2OTo2OTZBMUY3MSIsInZpc2l0b3JfaWQiOiIxNTM0ODk3ODI4NzU0MjM1MjQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2496c58ebfd07257559c0cdc9bb7d719ea26eb3c79cb4513ed0bc1d2292de16a
hovercard-subject-tagpull_request:788117397
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/29752/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9d6356ee386047d198ab16ee967e7ea2a5d64f6ed1f776c48fbf091a3969c667/python/cpython/pull/29752
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9d6356ee386047d198ab16ee967e7ea2a5d64f6ed1f776c48fbf091a3969c667/python/cpython/pull/29752
og:image:altsetup.py now uses CC from environment first to discover multiarch and cross compile paths. The sysconfig variable contains the value for the build host. The patch also re-arranges set_compiler_exec...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametiran
hostnamegithub.com
expected-hostnamegithub.com
None014f3d193f36b7d393f88ca22d06fbacd370800b40a547c1ea67291e02dc8ea3
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released515f6f09fa57a93bf90355cb894eb84ca4f458f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/29752#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29752
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29752
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/29752
Reloadhttps://github.com/python/cpython/pull/29752
Reloadhttps://github.com/python/cpython/pull/29752
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/29752
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/29752
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/29752#issue-comment-box
tiranhttps://github.com/tiran
python:mainhttps://github.com/python/cpython/tree/main
tiran:bpo-45881-cross-cchttps://github.com/tiran/cpython/tree/bpo-45881-cross-cc
bpo-45881: Use CC from env first for cross building (GH-29752) https://github.com/python/cpython/pull/29752#top
tiranhttps://github.com/tiran
python:mainhttps://github.com/python/cpython/tree/main
tiran:bpo-45881-cross-cchttps://github.com/tiran/cpython/tree/bpo-45881-cross-cc
Conversation 5 https://github.com/python/cpython/pull/29752
Commits 1 https://github.com/python/cpython/pull/29752/commits
Checks 0 https://github.com/python/cpython/pull/29752/checks
Files changed https://github.com/python/cpython/pull/29752/files
Please reload this pagehttps://github.com/python/cpython/pull/29752
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/tiran
tiranhttps://github.com/tiran
Nov 24, 2021https://github.com/python/cpython/pull/29752#issue-1062625266
Please reload this pagehttps://github.com/python/cpython/pull/29752
https://bugs.python.org/issue45881https://bugs.python.org/issue45881
Please reload this pagehttps://github.com/python/cpython/pull/29752
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Nov 24, 2021https://github.com/python/cpython/pull/29752#event-5668050802
https://github.com/tiran
tiranhttps://github.com/tiran
needs backport to 3.9 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.9%22
needs backport to 3.10 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.10%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Nov 24, 2021https://github.com/python/cpython/pull/29752#event-5668051240
https://github.com/tiran
bpo-45881: Use CC from env first for cross buildinghttps://github.com/python/cpython/pull/29752/commits/0719057342e7b46c1121eb5a9c71f3ab1190790e
0719057https://github.com/python/cpython/pull/29752/commits/0719057342e7b46c1121eb5a9c71f3ab1190790e
https://github.com/tiran
tiranhttps://github.com/tiran
force-pushedhttps://github.com/python/cpython/compare/acc610bd92d4d05c03b8307c3dc167f5be3c24be..0719057342e7b46c1121eb5a9c71f3ab1190790e
acc610bhttps://github.com/python/cpython/commit/acc610bd92d4d05c03b8307c3dc167f5be3c24be
0719057https://github.com/python/cpython/commit/0719057342e7b46c1121eb5a9c71f3ab1190790e
Compare https://github.com/python/cpython/compare/acc610bd92d4d05c03b8307c3dc167f5be3c24be..0719057342e7b46c1121eb5a9c71f3ab1190790e
November 24, 2021 16:47https://github.com/python/cpython/pull/29752#event-5668233062
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
Nov 24, 2021 https://github.com/python/cpython/pull/29752#pullrequestreview-815227214
View reviewed changes https://github.com/python/cpython/pull/29752/files/0719057342e7b46c1121eb5a9c71f3ab1190790e
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Nov 24, 2021https://github.com/python/cpython/pull/29752#event-5668564417
https://github.com/tiran
tiranhttps://github.com/tiran
Nov 24, 2021https://github.com/python/cpython/pull/29752#event-5668595924
https://github.com/tiran
tiranhttps://github.com/tiran
b30bf45https://github.com/python/cpython/commit/b30bf4520ae9d6e7eca09d812dd8a86c020b9202
Nov 24, 2021https://github.com/python/cpython/pull/29752#event-5668595965
https://github.com/tiran
tiranhttps://github.com/tiran
November 24, 2021 17:53https://github.com/python/cpython/pull/29752#event-5668596078
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Nov 24, 2021https://github.com/python/cpython/pull/29752#issuecomment-978101846
@tiranhttps://github.com/tiran
Please reload this pagehttps://github.com/python/cpython/pull/29752
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Nov 24, 2021https://github.com/python/cpython/pull/29752#event-5668596142
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Nov 24, 2021https://github.com/python/cpython/pull/29752#issuecomment-978101896
@tiranhttps://github.com/tiran
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/29752
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
tiranhttps://github.com/tiran
Nov 24, 2021https://github.com/python/cpython/pull/29752#event-5668596495
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Nov 24, 2021https://github.com/python/cpython/pull/29752#issuecomment-978101905
@tiranhttps://github.com/tiran
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/29752
tiranhttps://github.com/tiran
Nov 24, 2021 https://github.com/python/cpython/pull/29752#ref-commit-e6b0c8a
https://github.com/tiran
[3.10] bpo-45881: Use CC from env first for cross building (https://github.com/tiran/cpython/commit/e6b0c8a8d8bc61bf777883b12401f4515d123b0d
pythonGH-…https://github.com/python/cpython/pull/29752
e6b0c8ahttps://github.com/tiran/cpython/commit/e6b0c8a8d8bc61bf777883b12401f4515d123b0d
…29752https://github.com/python/cpython/pull/29752
b30bf45https://github.com/tiran/cpython/commit/b30bf4520ae9d6e7eca09d812dd8a86c020b9202
tiranhttps://github.com/tiran
Nov 24, 2021 https://github.com/python/cpython/pull/29752#ref-commit-ad6981a
https://github.com/tiran
[3.9] [3.10] bpo-45881: Use CC from env first for cross building (https://github.com/tiran/cpython/commit/ad6981a87c3b168ccaae2a7c9011e88656ab4ca2
pyt…https://github.com/python/cpython/pull/29752
ad6981ahttps://github.com/tiran/cpython/commit/ad6981a87c3b168ccaae2a7c9011e88656ab4ca2
…honGH-29752https://github.com/python/cpython/pull/29752
b30bf45https://github.com/tiran/cpython/commit/b30bf4520ae9d6e7eca09d812dd8a86c020b9202
e6b0c8ahttps://github.com/tiran/cpython/commit/e6b0c8a8d8bc61bf777883b12401f4515d123b0d
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Nov 24, 2021https://github.com/python/cpython/pull/29752#issuecomment-978106959
GH-29754https://github.com/python/cpython/pull/29754
3.9 branchhttps://github.com/python/cpython/tree/3.9
Please reload this pagehttps://github.com/python/cpython/pull/29752
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.9 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.9%22
Nov 24, 2021https://github.com/python/cpython/pull/29752#event-5668631052
https://github.com/tiran
tiranhttps://github.com/tiran
Nov 25, 2021 https://github.com/python/cpython/pull/29752#ref-pullrequest-1063382807
bpo-40280: Add wasm cross build targets (GH-29771) #29771 https://github.com/python/cpython/pull/29771
tiranhttps://github.com/tiran
Nov 25, 2021 https://github.com/python/cpython/pull/29752#ref-commit-cd6d257
https://github.com/tiran
[3.9]https://github.com/python/cpython/commit/cd6d2577fadc4cc0275017f27f46b0a628216353
bpo-45881https://bugs.python.org/issue?@action=redirect&bpo=45881
: Use CC from env first for cross building (https://github.com/python/cpython/commit/cd6d2577fadc4cc0275017f27f46b0a628216353
GH-29752https://github.com/python/cpython/pull/29752
) (https://github.com/python/cpython/commit/cd6d2577fadc4cc0275017f27f46b0a628216353
G…https://github.com/python/cpython/pull/29754
cd6d257https://github.com/python/cpython/commit/cd6d2577fadc4cc0275017f27f46b0a628216353
…H-29754https://github.com/python/cpython/pull/29754
tiranhttps://github.com/tiran
Nov 27, 2021 https://github.com/python/cpython/pull/29752#ref-commit-545aebd
https://github.com/tiran
[3.10]https://github.com/python/cpython/commit/545aebd2ecef9f6c3b2ca1973e3e0515d8355ce3
bpo-45881https://bugs.python.org/issue?@action=redirect&bpo=45881
: Use CC from env first for cross building (https://github.com/python/cpython/commit/545aebd2ecef9f6c3b2ca1973e3e0515d8355ce3
GH-29752https://github.com/python/cpython/pull/29752
). (https://github.com/python/cpython/commit/545aebd2ecef9f6c3b2ca1973e3e0515d8355ce3
545aebdhttps://github.com/python/cpython/commit/545aebd2ecef9f6c3b2ca1973e3e0515d8355ce3
GH-29753https://github.com/python/cpython/pull/29753
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Nov 27, 2021https://github.com/python/cpython/pull/29752#issuecomment-980797995
545aebdhttps://github.com/python/cpython/commit/545aebd2ecef9f6c3b2ca1973e3e0515d8355ce3
the buildbot page in the devguidehttps://devguide.python.org/buildbots/
https://buildbot.python.org/all/#builders/690/builds/488https://buildbot.python.org/all/#builders/690/builds/488
545aebdhttps://github.com/python/cpython/commit/545aebd2ecef9f6c3b2ca1973e3e0515d8355ce3
https://buildbot.python.org/all/#builders/690/builds/488https://buildbot.python.org/all/#builders/690/builds/488
Please reload this pagehttps://github.com/python/cpython/pull/29752
remykaremhttps://github.com/remykarem
Dec 7, 2021 https://github.com/python/cpython/pull/29752#ref-commit-5463c73
https://github.com/tiran
https://github.com/remykarem
bpo-45881: Use CC from env first for cross building (https://github.com/remykarem/cpython/commit/5463c7321acb490aaf0ad5c14cf99e769a9b692e
pythonGH-29752https://github.com/python/cpython/pull/29752
)https://github.com/remykarem/cpython/commit/5463c7321acb490aaf0ad5c14cf99e769a9b692e
5463c73https://github.com/remykarem/cpython/commit/5463c7321acb490aaf0ad5c14cf99e769a9b692e
https://github.com/tiran
tiranhttps://github.com/tiran
Apr 10, 2022 https://github.com/python/cpython/pull/29752#ref-issue-1199069855
Cross compiling on Linux is untested, undocumented, and broken #90039 https://github.com/python/cpython/issues/90039
https://github.com/terryjreedy
terryjreedyhttps://github.com/terryjreedy
needs backport to 3.10 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.10%22
Feb 18, 2025https://github.com/python/cpython/pull/29752#event-16340000077
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29752
https://github.com/brettcannon
brettcannon https://github.com/brettcannon
https://github.com/python/cpython/pull/29752/files/0719057342e7b46c1121eb5a9c71f3ab1190790e
https://github.com/tiran
tiran https://github.com/tiran
Please reload this pagehttps://github.com/python/cpython/pull/29752
https://github.com/tiran
https://github.com/miss-islington
https://github.com/bedevere-bot
https://github.com/brettcannon
https://github.com/terryjreedy
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.