[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Passing -j (parallel processing) option to sub-makes
From: |
Nestor Amaya |
Subject: |
Passing -j (parallel processing) option to sub-makes |
Date: |
Fri, 1 Mar 2002 14:43:00 -0500 |
Fellow GNU-makers:
Is there a way to get gmake to distribute parallel jobs between sub-makes?
For example, given:
all : a b c
a b c:
$(MAKE) -C $@
Now assume that each sub-make (a b c) can at most run 4 parallel jobs at
once. Would running "make -j 10 all" with the above makefile still manage to
run 10 jobs in parallel? Or only 3? What is the entended behaviour of make
here?
I have tested this but have seen conflicting results (which may be due to
the complexities of my environment).
Thank you,
_______________________________________________________
Nestor A. Amaya Catena Networks
I.C. Development 307 Legget Drive
Kanata, ON
voice 1: (613) 599-6430 x8255 K2K 3C8
voice 2: (613) 599-4166
fax: (613) 599-0445
- Passing -j (parallel processing) option to sub-makes,
Nestor Amaya <=