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

 
 

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

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

Submitted by:  None
Submitted on:  Wed 17 Feb 2010 11:28:24 AM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Email: -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

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup