bug-make
[Top][All Lists]
Advanced

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

[bug #56701] Do not allow -j without a number


From: Paul D. Smith
Subject: [bug #56701] Do not allow -j without a number
Date: Mon, 26 Aug 2019 08:35:15 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Update of bug #56701 (project make):

              Item Group:                     Bug => Enhancement            

    _______________________________________________________

Follow-up Comment #1:

Actually -j without a number is useful: it's used in conjunction with the -l
option to allow parallelism to be limited by system load rather than an
explicit number of outstanding jobs.

I implemented a change which requires the -l option to be provided if -j is
given without an argument, else you get an error.

However that's a large backward-compatibility change so I'm not sure about it.
 Just as an example, I had to modify quite a number of tests in the GNU make
regression test suite after making this change.  Of course, it's quite
reasonable to say that the usages in the regression test suite are not
appropriate to "real world" usages.

I'll need to think about this.  If anyone has opinions on whether this would
be a good change and/or how much breakage it would cause please let me know.

I'm changing this to an enhancement because the current behavior is (a)
documented, (b) useful, and (c) how make has worked for 30+ years.  The
question is can we find a way to avoid the downsides, and is the cost in
backward-compatibiity worth it.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56701>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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