[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: parrallel make - order of process
From: |
Paul D. Smith |
Subject: |
Re: parrallel make - order of process |
Date: |
Mon, 30 Jun 2003 13:30:22 -0400 |
%% Gareth James Hughes <address@hidden> writes:
gjh> Is there a variable that identifies the order of a parallel process?
gjh> i.e. I have a make job that performs some action on a collection
gjh> of flat-files (wildcarded), creating a stamp for each one. I
gjh> want to log the process for each file in a log file of the form
gjh> <foo-bar-$(PARALLEL_ORDER).log>.
gjh> So for make -j 4 I would process all the files (of which there
gjh> are several thousand), but only write to logs to four output
gjh> files:-
gjh> foo-bar-1.log
gjh> foo-bar-2.log
gjh> foo-bar-3.log
gjh> foo-bar-4.log
No, there is nothing like that. You can file an enhancement request at
the Savannah site for GNU make, if you like.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist