Title: bpo-41100: use system libffi for Mac OS 10.15 and up by lawrence-danna-apple · Pull Request #21239 · python/cpython · GitHub
Open Graph Title: bpo-41100: use system libffi for Mac OS 10.15 and up by lawrence-danna-apple · Pull Request #21239 · python/cpython
X Title: bpo-41100: use system libffi for Mac OS 10.15 and up by lawrence-danna-apple · Pull Request #21239 · python/cpython
Description: The vendored libffi sources do not support arm64 Mac OS. Recent versions of mac OS include libffi, including Mac OS 11 on arm64. This updates setup.py to default to the system libffi on Mac OS 10.15 and forward. It also updates detect_ctypes to prefer finding libffi in the Xcode SDK, rather than /usr/include Also, when the Mac OS libffi is used, it removes malloc_closure.c from the sourcs for _ctypes. libffi already comes with ffi_closure_alloc, and it is not compatible with the one in malloc_closure.c https://bugs.python.org/issue41100
Open Graph Description: The vendored libffi sources do not support arm64 Mac OS. Recent versions of mac OS include libffi, including Mac OS 11 on arm64. This updates setup.py to default to the system libffi on Mac OS 10...
X Description: The vendored libffi sources do not support arm64 Mac OS. Recent versions of mac OS include libffi, including Mac OS 11 on arm64. This updates setup.py to default to the system libffi on Mac OS 10...
Opengraph URL: https://github.com/python/cpython/pull/21239
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9fd3059d-bae2-dc18-f6bc-3d89ce109413 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EDFA:418ED:8583510:BA3DDA3:6A5013B1 |
| html-safe-nonce | 3d02807c68e2b7119abc9630047ad6b95ef4cf11116d3cef7b3f79fc76c07026 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREZBOjQxOEVEOjg1ODM1MTA6QkEzRERBMzo2QTUwMTNCMSIsInZpc2l0b3JfaWQiOiI0OTkzNTExOTExMzYwMzA0MDQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d466d4eda0d854cc85ce80486aa9d8bdb3e5be0dcd4ee4d49066ba235be20aab |
| hovercard-subject-tag | pull_request:442184662 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python/cpython/pull/21239/files |
| twitter:image | https://avatars.githubusercontent.com/u/64555057?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/64555057?s=400&v=4 |
| og:image:alt | The vendored libffi sources do not support arm64 Mac OS. Recent versions of mac OS include libffi, including Mac OS 11 on arm64. This updates setup.py to default to the system libffi on Mac OS 10... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fe4f38b24922a1ce81c1708c3793b47c185599b9144ab94f6ca846b00698058d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 42b6390c91978a16f9196c38c7a00e9bf21f37e7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width