Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions getting-started/setup-building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,19 @@ 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:

$ make -s -j $(nproc)
.. tab:: Unix

.. code-block:: console

$ make -s -j $(nproc)

.. tab:: macOS

.. 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
Expand Down