Skip to content

gh-1542: Do not suggest make -j #1543

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
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
7 changes: 5 additions & 2 deletions developer-workflow/extension-modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -547,8 +547,11 @@ Now that the configuration is in place, it remains to compile the project:

.. tip::

Use ``make -j`` to speed-up compilation by utilizing as many CPU cores
as possible or ``make -jN`` to allow at most *N* concurrent jobs.
Use ``make -jN`` to speed-up compilation by utilizing as many CPU cores
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Use ``make -jN`` to speed-up compilation by utilizing as many CPU cores
Use ``make -jN`` to speed-up compilation by using as many CPU cores

as possible, where *N* is as many CPU cores you want to spare (and have
memory for). Be careful using ``make -j`` with no argument, as this puts
no limit on the number of jobs, and compilation can sometimes use up a
lot of memory (like when building with LTO).

* ``make regen-configure`` updates the :cpy-file:`configure` script.

Expand Down
4 changes: 2 additions & 2 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ instructions please see the :ref:`setup guide <setup>`.

.. code-block:: shell

./configure --with-pydebug && make -j
./configure --with-pydebug && make -j4

.. tab:: macOS

.. code-block:: shell

./configure --with-pydebug && make -j
./configure --with-pydebug && make -j4

.. tab:: Windows

Expand Down
Loading