bugmake - Bugs: bug #48274, adding -j option to MAKEFLAGS no...

 
 

bug #48274: adding -j option to MAKEFLAGS no longer works

Submitter:  Oliver Kiddle <opk>
Submitted:  Mon 20 Jun 2016 10:16:17 AM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  4.2 Operating System:  POSIX-Based
Fixed Release:  4.3 Triage Status:  Medium Effort
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 12 Aug 2019 05:50:10 PM UTC, comment #3: 

Sorry to comment on a "Fixed" bug, but is a new release coming any time soon? This was fixed 2 years ago, and 4.2.1 was released 3 years ago.

Is help needed to prepare the next release?

Eric Rannaud <ericrannaud>
Tue 31 Oct 2017 05:12:11 AM UTC, comment #2: 

This has been fixed in Git and will be available in the next release of GNU make.

Paul D. Smith <psmith>
Group administrator
Wed 10 May 2017 06:03:45 AM UTC, comment #1: 

Would it be this bug corrected someday? It seems to be a pretty annoying bug and I don't have any status or assigned name.


Anonymous
Mon 20 Jun 2016 10:16:17 AM UTC, original submission:  

As of version 4.2, it no longer works to add a -j option to MAKEFLAGS from within the Makefile. This was used in our common include files so that parallel builds would be enabled by default and so that we could automate selecting an appropriate default number of jobs on different systems.


JOBS ?= $(shell /usr/sbin/psrinfo | head -8 | wc -l)

MAKEFLAGS += -rRL -j $(JOBS) $(if $(filter output-sync,$(.FEATURES)),-O )$(if $(findstring test,$(MAKECMDGOALS)),-k)

all: three two

three:
        sleep 3

two:
        sleep 2


Ideally it would be easy to both force a default number of jobs and honour and explicit -j option passed on the command-line to gmake.

Oliver Kiddle <opk>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ericrannaud (Posted a comment)
  • -email is unavailable- added by psmith (Posted a comment)
  • -email is unavailable- added by opk (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-10-31 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.3
        Triage StatusNone Medium Effort

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code