René's URL Explorer Experiment


Title: bpo-26317: Support OBJC and OBJCXX configure command line variables by ned-deily · Pull Request #20176 · python/cpython · GitHub

Open Graph Title: bpo-26317: Support OBJC and OBJCXX configure command line variables by ned-deily · Pull Request #20176 · python/cpython

X Title: bpo-26317: Support OBJC and OBJCXX configure command line variables by ned-deily · Pull Request #20176 · python/cpython

Description: Add support to the configure script for OBJC and OBJCXX command line options so that the macOS builds can use the clang compiler for the macOS-specific Objective C source files. This allows third-party compilers, like GNU gcc, to be used to build the rest of the project since some of the Objective C system header files are not compilable by GNU gcc. Also, _scproxy.o is built outside of setup.py so that we can force the use of the OBJC compiler when the CC compiler is different. The Makefile builds _scproxy.o and the setup.py script takes care of using the object file to create the _scproxy module instead of compiling the file itself. This approach is taken because setup.py is designed to use a single compiler for everything. Adding support for a second alternative compiler would require re-plumbing distutils, which is complicated and unnecessary because setup.py allows module definitions to specify object files without any .c source files. This fixes the PythonLauncher build when CC is set to the GNU C compiler. In this case, OBJC can be set explicitly to "clang", or it can be left out and the configure script will automatically discover the clang compiler as the Objective C compiler. For example, a system that used brew to install the GNU C compiler as gcc-8 can specify CC=gcc-8 and the configure script will discover and use the clang compiler as if OBJC=gcc had been specified on the command line. The same behavior applies to the OBJCXX and CXX options. Patch contributed by Jeffrey Kintscher (@websurfer5). https://bugs.python.org/issue26317

Open Graph Description: Add support to the configure script for OBJC and OBJCXX command line options so that the macOS builds can use the clang compiler for the macOS-specific Objective C source files. This allows third-p...

X Description: Add support to the configure script for OBJC and OBJCXX command line options so that the macOS builds can use the clang compiler for the macOS-specific Objective C source files. This allows third-p...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b9997f8c-57e0-d46b-d561-92df2d14eac9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8D12:2D209F:8DFAD9:CFBB0C:6A4E13B6
html-safe-nonce2db31b7e26c88315f83d16581ecd05e77e5ef02caf7cadb47f1b4b0eb9bbcc8a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDEyOjJEMjA5Rjo4REZBRDk6Q0ZCQjBDOjZBNEUxM0I2IiwidmlzaXRvcl9pZCI6IjgwNDA0NDM0NTE4MzE3OTcwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6f7d6fd3cc20e63394fff7ef91846824a151622cc2e0ca9d6fac27e279c1d440
hovercard-subject-tagpull_request:419481952
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/20176/files
twitter:imagehttps://avatars.githubusercontent.com/u/5833005?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5833005?s=400&v=4
og:image:altAdd support to the configure script for OBJC and OBJCXX command line options so that the macOS builds can use the clang compiler for the macOS-specific Objective C source files. This allows third-p...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseea9187571e3edc5f2780f750631138669441ca50
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/20176/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F20176%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
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%2F20176%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/20176/files
Reloadhttps://github.com/python/cpython/pull/20176/files
Reloadhttps://github.com/python/cpython/pull/20176/files
Please reload this pagehttps://github.com/python/cpython/pull/20176/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/20176/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality 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
ned-deilyhttps://github.com/ned-deily
python:masterhttps://github.com/python/cpython/tree/master
ned-deily:fix-issue-26317https://github.com/ned-deily/cpython/tree/fix-issue-26317
Conversation 2 https://github.com/python/cpython/pull/20176
Commits 12 https://github.com/python/cpython/pull/20176/commits
Checks 0 https://github.com/python/cpython/pull/20176/checks
Files changed https://github.com/python/cpython/pull/20176/files
Please reload this pagehttps://github.com/python/cpython/pull/20176/files
bpo-26317: Support OBJC and OBJCXX configure command line variables https://github.com/python/cpython/pull/20176/files#top
Show all changes 12 commits https://github.com/python/cpython/pull/20176/files
c18b3b0 bpo-26317: add support to the configure script for OBJC and OBJCXX websurfer5 May 12, 2019 https://github.com/python/cpython/pull/20176/commits/c18b3b0f25489ee2f08398aa90b41ba19685df46
22d5e5f bpo-26317: _scproxy.o needs to be built outside of setup.py so that w… websurfer5 May 14, 2019 https://github.com/python/cpython/pull/20176/commits/22d5e5fc6adec75972eb133441a9151f2155b300
21b7715 📜🤖 Added by blurb_it. blurb-it[bot] May 14, 2019 https://github.com/python/cpython/pull/20176/commits/21b77153f201dd7309ef41b8039b7e1ce4808e83
379ad02 bpo-26317: add What's New entry websurfer5 May 14, 2019 https://github.com/python/cpython/pull/20176/commits/379ad02761e1d290ba3d47e969bfb547beb7233d
fea1bd4 Merge branch 'fix-issue-26317' of github.com:websurfer5/cpython into … websurfer5 May 14, 2019 https://github.com/python/cpython/pull/20176/commits/fea1bd4a8c209a3e3e2fc8b76b29ec29a9fe1537
4b37d08 Merge branch 'master' into fix-issue-26317 websurfer5 Jun 28, 2019 https://github.com/python/cpython/pull/20176/commits/4b37d08fa53ec1f99896e9cf0e9b475ac1823d99
a6cb14b Merge branch 'master' into fix-issue-26317 websurfer5 Jul 10, 2019 https://github.com/python/cpython/pull/20176/commits/a6cb14badee14300c150e87351a67f7f7abe852a
9a6f855 Remove what's new 3.8 change. terryjreedy Jan 13, 2020 https://github.com/python/cpython/pull/20176/commits/9a6f855dfb578d8967ccbc0f52396990d7cbec62
e244152 Restore blank line terryjreedy Jan 13, 2020 https://github.com/python/cpython/pull/20176/commits/e2441525ca7eaa834c1fbf010b3eba536d47af45
7a982ed Merge branch 'master' into fix-issue-26317 terryjreedy Jan 13, 2020 https://github.com/python/cpython/pull/20176/commits/7a982ed1d0cdf63fda30c6e25574b55bf4af55b2
a375f51 Merge branch 'master' into fix-issue-26317 ned-deily May 18, 2020 https://github.com/python/cpython/pull/20176/commits/a375f5137f315d285f74fe7de19bcb90345250af
99dfa9e minor wording edits and bring back a whatsnew entry ned-deily May 18, 2020 https://github.com/python/cpython/pull/20176/commits/99dfa9efd2a0d7211dcebbcb6d4d46054e4d05f4
Clear filters https://github.com/python/cpython/pull/20176/files
Please reload this pagehttps://github.com/python/cpython/pull/20176/files
Please reload this pagehttps://github.com/python/cpython/pull/20176/files
3.9.rst https://github.com/python/cpython/pull/20176/files#diff-ec874d66bbcf13046b9928aa3716d14a93632f568b914eba32baf46ff4c9eb36
Makefile.in https://github.com/python/cpython/pull/20176/files#diff-f0535538a7447739a346eec8fc35ff1d5769a2e686bcec0923c53d8f7c235d43
Makefile.in https://github.com/python/cpython/pull/20176/files#diff-d974c7fd93f0269e726988653624d44eeb2110ae6b2915672b8910da6b4b8475
Makefile.pre.in https://github.com/python/cpython/pull/20176/files#diff-1f0a8db227d22005511b0d90f5339b97db345917b863954b3b3ccb9ec308767c
ACKS https://github.com/python/cpython/pull/20176/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0
2019-05-14-05-35-14.bpo-26317.no8mw-.rst https://github.com/python/cpython/pull/20176/files#diff-12bc7f6f94255408b818ee15d97eb5eb039dcf9898fab2372a5a8de96e01129e
aclocal.m4 https://github.com/python/cpython/pull/20176/files#diff-d05beee91e3fb3e91d08b841553b74a24b9cfb9f3d238314e53229f2cf416475
configure https://github.com/python/cpython/pull/20176/files#diff-90d08e583c4c9c6f391b2ae90f819f600a6326928ea9512c9e0c6d98e9f29ac2
configure.ac https://github.com/python/cpython/pull/20176/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810
setup.py https://github.com/python/cpython/pull/20176/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
Doc/whatsnew/3.9.rsthttps://github.com/python/cpython/pull/20176/files#diff-ec874d66bbcf13046b9928aa3716d14a93632f568b914eba32baf46ff4c9eb36
View file https://github.com/ned-deily/cpython/blob/99dfa9efd2a0d7211dcebbcb6d4d46054e4d05f4/Doc/whatsnew/3.9.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20176/{{ revealButtonHref }}
https://github.com/python/cpython/pull/20176/files#diff-ec874d66bbcf13046b9928aa3716d14a93632f568b914eba32baf46ff4c9eb36
https://github.com/python/cpython/pull/20176/files#diff-ec874d66bbcf13046b9928aa3716d14a93632f568b914eba32baf46ff4c9eb36
Mac/Makefile.inhttps://github.com/python/cpython/pull/20176/files#diff-f0535538a7447739a346eec8fc35ff1d5769a2e686bcec0923c53d8f7c235d43
View file https://github.com/ned-deily/cpython/blob/99dfa9efd2a0d7211dcebbcb6d4d46054e4d05f4/Mac/Makefile.in
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20176/{{ revealButtonHref }}
https://github.com/python/cpython/pull/20176/files#diff-f0535538a7447739a346eec8fc35ff1d5769a2e686bcec0923c53d8f7c235d43
https://github.com/python/cpython/pull/20176/files#diff-f0535538a7447739a346eec8fc35ff1d5769a2e686bcec0923c53d8f7c235d43
Mac/PythonLauncher/Makefile.inhttps://github.com/python/cpython/pull/20176/files#diff-d974c7fd93f0269e726988653624d44eeb2110ae6b2915672b8910da6b4b8475
View file https://github.com/ned-deily/cpython/blob/99dfa9efd2a0d7211dcebbcb6d4d46054e4d05f4/Mac/PythonLauncher/Makefile.in
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20176/{{ revealButtonHref }}
ax3lhttps://github.com/ax3l
Aug 25, 2020https://github.com/python/cpython/pull/20176/files#r476000267
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://bugs.python.org/issue26317#msg369325https://bugs.python.org/issue26317#msg369325
Please reload this pagehttps://github.com/python/cpython/pull/20176/files
https://github.com/python/cpython/pull/20176/files#diff-d974c7fd93f0269e726988653624d44eeb2110ae6b2915672b8910da6b4b8475
https://github.com/python/cpython/pull/20176/files#diff-d974c7fd93f0269e726988653624d44eeb2110ae6b2915672b8910da6b4b8475
Makefile.pre.inhttps://github.com/python/cpython/pull/20176/files#diff-1f0a8db227d22005511b0d90f5339b97db345917b863954b3b3ccb9ec308767c
View file https://github.com/ned-deily/cpython/blob/99dfa9efd2a0d7211dcebbcb6d4d46054e4d05f4/Makefile.pre.in
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20176/{{ revealButtonHref }}
https://github.com/python/cpython/pull/20176/files#diff-1f0a8db227d22005511b0d90f5339b97db345917b863954b3b3ccb9ec308767c
https://github.com/python/cpython/pull/20176/files#diff-1f0a8db227d22005511b0d90f5339b97db345917b863954b3b3ccb9ec308767c
https://github.com/python/cpython/pull/20176/files#diff-1f0a8db227d22005511b0d90f5339b97db345917b863954b3b3ccb9ec308767c
https://github.com/python/cpython/pull/20176/files#diff-1f0a8db227d22005511b0d90f5339b97db345917b863954b3b3ccb9ec308767c
Misc/ACKShttps://github.com/python/cpython/pull/20176/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0
View file https://github.com/ned-deily/cpython/blob/99dfa9efd2a0d7211dcebbcb6d4d46054e4d05f4/Misc/ACKS
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20176/{{ revealButtonHref }}
https://github.com/python/cpython/pull/20176/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0
https://github.com/python/cpython/pull/20176/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0
Misc/NEWS.d/next/Build/2019-05-14-05-35-14.bpo-26317.no8mw-.rsthttps://github.com/python/cpython/pull/20176/files#diff-12bc7f6f94255408b818ee15d97eb5eb039dcf9898fab2372a5a8de96e01129e
View file https://github.com/ned-deily/cpython/blob/99dfa9efd2a0d7211dcebbcb6d4d46054e4d05f4/Misc/NEWS.d/next/Build/2019-05-14-05-35-14.bpo-26317.no8mw-.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20176/{{ revealButtonHref }}
aclocal.m4https://github.com/python/cpython/pull/20176/files#diff-d05beee91e3fb3e91d08b841553b74a24b9cfb9f3d238314e53229f2cf416475
View file https://github.com/ned-deily/cpython/blob/99dfa9efd2a0d7211dcebbcb6d4d46054e4d05f4/aclocal.m4
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20176/{{ revealButtonHref }}
https://github.com/python/cpython/pull/20176/files#diff-d05beee91e3fb3e91d08b841553b74a24b9cfb9f3d238314e53229f2cf416475
https://github.com/python/cpython/pull/20176/files#diff-d05beee91e3fb3e91d08b841553b74a24b9cfb9f3d238314e53229f2cf416475
https://github.com/python/cpython/pull/20176/files#diff-d05beee91e3fb3e91d08b841553b74a24b9cfb9f3d238314e53229f2cf416475
https://github.com/python/cpython/pull/20176/files#diff-d05beee91e3fb3e91d08b841553b74a24b9cfb9f3d238314e53229f2cf416475
https://github.com/python/cpython/pull/20176/files#diff-d05beee91e3fb3e91d08b841553b74a24b9cfb9f3d238314e53229f2cf416475
https://github.com/python/cpython/pull/20176/files#diff-d05beee91e3fb3e91d08b841553b74a24b9cfb9f3d238314e53229f2cf416475
Please reload this pagehttps://github.com/python/cpython/pull/20176/files
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.