summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2022-11-23 10:52:12 (GMT)
committerGitHub <noreply@github.com>2022-11-23 10:52:12 (GMT)
commit8f024a02d7d63315ecc3479f0715e927f48fc91b (patch)
tree8cde5d558f3319ae0fa6ffc0a4ec01e66eb8e896 /Mac
parent8f18ac04d32515eab841172c956a8cb14bcee9c3 (diff)
downloadcpython-8f024a02d7d63315ecc3479f0715e927f48fc91b.zip
cpython-8f024a02d7d63315ecc3479f0715e927f48fc91b.tar.gz
cpython-8f024a02d7d63315ecc3479f0715e927f48fc91b.tar.bz2
GH-95283: Add note about compilers in Mac/README.txt (#99506)
The build machinery assumes that the compiler that's used to build on macOS includes an SDK that's at least as new as the OS version on the build machine. Explicitly mention this in Mac/README.txt.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/README.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Mac/README.rst b/Mac/README.rst
index 7476639..bc40b41 100644
--- a/Mac/README.rst
+++ b/Mac/README.rst
@@ -10,6 +10,19 @@ Python on macOS README
This document provides a quick overview of some macOS specific features in
the Python distribution.
+Compilers for building on macOS
+===============================
+
+The core developers primarily test builds on macOS with Apple's compiler tools,
+either Xcode or the Command Line Tools. For these we only support building with
+a compiler that includes an SDK that targets the OS on the build machine, that is
+the version of Xcode that shipped with the OS version or one newer.
+
+For example, for macOS 12 we support Xcode 13 and Xcode 14 (or the corresponding
+Command Line Tools).
+
+Building with other compilers, such as GCC, likely works, but is not actively supported.
+
macOS specific arguments to configure
=====================================