From 8a2eba5a3aabb0557e45254a3c5e689aef1d9cd5 Mon Sep 17 00:00:00 2001 From: Logaranjani345 Date: Wed, 4 Nov 2026 19:56:53 +0530 Subject: [PATCH 1/2] Fix macOS build instructions --- getting-started/setup-building.rst | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/getting-started/setup-building.rst b/getting-started/setup-building.rst index 25259156e..88000a710 100644 --- a/getting-started/setup-building.rst +++ b/getting-started/setup-building.rst @@ -204,9 +204,20 @@ do to get a pydebug build of CPython. You might need to run ``make clean`` before or after re-running ``configure`` in a particular build directory. -Once ``configure`` is done, you can then compile CPython with:: +Once ``configure`` is done, you can then compile CPython with: + +.. tab:: Unix + + .. code-block:: console + + $ make -s -j $(nproc) + +.. tab:: macOS + + .. code-block:: console + + $ make -s -j $(sysctl -n hw.logicalcpu) - $ make -s -j $(nproc) This will build CPython with only warnings and errors being printed to stderr. The ``-j`` argument means that :program:`make` will concurrently run From 9e34c5c7c4178c992524462674f5b1bae1117f28 Mon Sep 17 00:00:00 2001 From: Logaranjani345 Date: Wed, 4 Nov 2026 20:16:51 +0530 Subject: [PATCH 2/2] Clean up blank lines in setup-building.rst --- getting-started/setup-building.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/getting-started/setup-building.rst b/getting-started/setup-building.rst index 88000a710..e56a9e2ba 100644 --- a/getting-started/setup-building.rst +++ b/getting-started/setup-building.rst @@ -217,8 +217,6 @@ Once ``configure`` is done, you can then compile CPython with: .. code-block:: console $ make -s -j $(sysctl -n hw.logicalcpu) - - This will build CPython with only warnings and errors being printed to stderr. The ``-j`` argument means that :program:`make` will concurrently run tasks, limiting the number of parallel jobs to the number of CPU cores in your