summaryrefslogtreecommitdiffstats
path: root/Mac/README.rst
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2021-05-02 10:55:04 (GMT)
committerGitHub <noreply@github.com>2021-05-02 10:55:04 (GMT)
commit78e55888ab379cc61c0b5db67f0b881e526628d2 (patch)
treef36ac9789177909e1754c51717d97257bbcb41aa /Mac/README.rst
parentb29d0a5a7811418c0a1082ca188fd4850185e290 (diff)
downloadcpython-78e55888ab379cc61c0b5db67f0b881e526628d2.zip
cpython-78e55888ab379cc61c0b5db67f0b881e526628d2.tar.gz
cpython-78e55888ab379cc61c0b5db67f0b881e526628d2.tar.bz2
bpo-44009: Provide "python3.x-intel64" for Apple Silicon Macs (GH-25810)
This allows reliably forcing macOS universal2 framework builds to run under Rosetta 2 Intel-64 emulation on Apple Silicon Macs if needed for testing or when universal2 wheels are not yet available. (cherry picked from commit 0cb33da1cc9cebb9b2d67d446feb1cfd36fe7f55) Co-authored-by: Ned Deily <nad@python.org> Automerge-Triggered-By: GH:ned-deily Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Diffstat (limited to 'Mac/README.rst')
-rw-r--r--Mac/README.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mac/README.rst b/Mac/README.rst
index f63a424..d455a0a 100644
--- a/Mac/README.rst
+++ b/Mac/README.rst
@@ -162,6 +162,9 @@ following combinations of SDKs and universal-archs flavors are available:
The makefile for a framework build will also install ``python3.x-32``
binaries when the universal architecture includes at least one 32-bit
architecture (that is, for all flavors but ``64-bit`` and ``intel-64``).
+It will also install ``python3.x-intel64`` binaries in the ``universal2``
+case to allow easy execution with the Rosetta 2 Intel emulator on Apple
+Silicon Macs.
Running a specific architecture
...............................
@@ -181,6 +184,9 @@ subprocesses also run in 32-bit-mode if the main interpreter does, use
a ``python3.x-32`` binary and use the value of ``sys.executable`` as the
``subprocess`` ``Popen`` executable value.
+Likewise, use ``python3.x-intel64`` to force execution in ``x86_64`` mode
+with ``universal2`` binaries.
+
Building and using a framework-based Python on macOS
====================================================