mainmake - Support: sr #107274, Multiple goals and parallel...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

sr #107274: Multiple goals and parallel execution - difference in manual and behavior

Submitter:  None
Submitted:  Wed 17 Feb 2010 11:28:24 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  POSIX-Based

Wed 17 Feb 2010 11:28:24 AM UTC, original submission:  

Manual:
  You can also specify a different goal or goals with command-line
arguments to `make'.  Use the name of the goal as an argument.  If you
specify several goals, `make' processes each of them in turn, in the
order you name them.

Behavior:

Makefile:
.PHONY: A0
A0:
 @echo 0

.PHONY: A1
A1:
 @echo 1

.PHONY: A2
A2:
 @echo 2

.PHONY: A3
A3:
 @echo 3

.PHONY: A4
A4:
 @echo 4

.PHONY: A5
A5:
 @echo 5

.PHONY: A6
A6:
 @echo 6

.PHONY: A7
A7:
 @echo 7

.PHONY: A8
A8:
 @echo 8

.PHONY: A9
A9:
 @echo 9

.PHONY: A10
A10:
 @echo 10


Running:
$ make -j A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10
0
1
2
3
5
4
6
7
8
9
10

They are not processed "in turn".

Linux version 2.6.18-164.6.1.el5PAE (mockbuild@hs20-bc2-5.build.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Tue Oct 27 11:46:58 EDT 2009
make-3.81-3.el5

Anonymous

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code