[Python-checkins] GH-95283: Add note about compilers in Mac/README.txt (GH-99506)

miss-islington webhook-mailer at python.org
Wed Nov 23 06:04:22 EST 2022


https://github.com/python/cpython/commit/40a4b40bb1a8b27c1490fcbb5937d2e2cffa280c
commit: 40a4b40bb1a8b27c1490fcbb5937d2e2cffa280c
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-11-23T03:04:16-08:00
summary:

GH-95283: Add note about compilers in Mac/README.txt (GH-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.
(cherry picked from commit 8f024a02d7d63315ecc3479f0715e927f48fc91b)

Co-authored-by: Ronald Oussoren <ronaldoussoren at mac.com>

files:
M Mac/README.rst

diff --git a/Mac/README.rst b/Mac/README.rst
index 8f2f153d5001..e746ba8734dc 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
 =====================================
 



More information about the Python-checkins mailing list