[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make -j does not work on RedHat7.7 VM

From: Paul Smith
Subject: Re: make -j does not work on RedHat7.7 VM
Date: Thu, 23 Dec 2021 11:51:57 -0500
User-agent: Evolution 3.36.5-0ubuntu1

On Thu, 2021-12-23 at 12:49 +0000, Zhu, Mason wrote:
> In GNU Make 3.82, it seems that -j option will be finally added if
> Make determines my VM has the parallel build capability.

It has never been the case that any version of GNU make has
automatically enabled parallel builds by itself.  It's always been
required that the user request it via the -j option.

If you are seeing parallelism in 3.82 then someone provided -j on the
command line or in MAKEFLAGS before starting make.  I don't believe
that GNU make 3.82 allows -j to be added to MAKEFLAGS inside the
makefile and take effect in the current invocation of make.

> However in GNU Make 4.2.1, there is no parallel build if I does not
> explicitly set -jN option.

Does this mean that you discovered a way to make parallel builds work
as expected using GNU make 4.2.1?  Just by adding this argument?
 Exactly how did you do this?

If so we'll need to fully understand how you are enabling parallel
builds in GNU make 3.82 and what change you made to make it work in GNU
make 4.2.1.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]