[3.8] bpo-41100: Support macOS 11 and Apple Silicon #25274
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a partial backport of bpo-41100 changes
e8b1c038b14b5fc8120aab62c9bf5fb840274cb6
and96d906b144e6e6aa96c5ffebecbcc5d38034bbda
for Python 3.8. We introduce the ability to build Python from source forarm64
on macOS, but we do not make a promise of support. This allows us to omit support for weak-linking of symbols from the macOS SDK based on the deployment target, which are larger changes much more difficult to merge.This also includes a backport of subsequent bpo-42688 change
7e729978fa08a360cbf936dc215ba7dd25a06a08
to fix build errors with externallibffi
.https://bugs.python.org/issue41100