bug-make
[Top][All Lists]
Advanced

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

[bug #8297] Add a non-posix feature for parallel mode.


From: Nikolay Molchanov
Subject: [bug #8297] Add a non-posix feature for parallel mode.
Date: Sun, 2 Apr 2006 05:10:29 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

Follow-up Comment #4, bug #8297 (project make):

I can answer this question wrt Solaris make and Sun Studio dmake.

foo + bar baz boz + biz:

What does this mean? 

It means there are 2 groups:
1. foo + bar
2. boz + biz

Here is an example. 
-------------------
volga2% cat Makefile
T = foo bar baz boz biz
all: ${T}
# Two groups
foo + bar baz boz + biz:
        @echo $@
        touch ${T}

If I run GNU make, it treats "+" as a target, 
and repeats the same command 5 times:
-------------------------------------
volga2% rm -f foo bar baz boz biz
volga2% gmake -j 8
Makefile:7: target `+' given more than once in the same rule.
foo
touch foo bar baz boz biz
bar
baz
boz
biz
touch foo bar baz boz biz
touch foo bar baz boz biz
touch foo bar baz boz biz
touch foo bar baz boz biz

If I run Sun Studio dmake, it treats "+" as a group sign, 
and repeats the same command 3 times:
-------------------------------------
volga2% rm -f foo bar baz boz biz
volga2% dmake -j 8
echo baz
baz
touch foo bar baz boz biz
echo boz
boz
touch foo bar baz boz biz
echo foo
foo
touch foo bar baz boz biz



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8297>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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