Skip to content

Commit 8f024a0

Browse files
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.
1 parent 8f18ac0 commit 8f024a0

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Mac/README.rst

+13
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@ Python on macOS README
1010
This document provides a quick overview of some macOS specific features in
1111
the Python distribution.
1212

13+
Compilers for building on macOS
14+
===============================
15+
16+
The core developers primarily test builds on macOS with Apple's compiler tools,
17+
either Xcode or the Command Line Tools. For these we only support building with
18+
a compiler that includes an SDK that targets the OS on the build machine, that is
19+
the version of Xcode that shipped with the OS version or one newer.
20+
21+
For example, for macOS 12 we support Xcode 13 and Xcode 14 (or the corresponding
22+
Command Line Tools).
23+
24+
Building with other compilers, such as GCC, likely works, but is not actively supported.
25+
1326
macOS specific arguments to configure
1427
=====================================
1528

0 commit comments

Comments
 (0)