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

Re: proper handling of distcc in rules



On Fri, Oct 15, 2004 at 08:45:50PM +0200, Bartosz Fenski aka fEnIo wrote:
> Hello.
> 
> I've just started using distcc for my compilation (yep... for preparing
> packages too), so I wonder if there is any policy about using `-jX` switch
> for make?
> 
> May I simply use `make -j4` in my debian/rules files or it should be put in
> some #ifdef conditions?

You should most definately /not/ do such things by default. Think about
it: 'make' without -j won't hurt on an SMP, but it will hurt on a
non-SMP system.

If you really want to do this, try using MAKEFLAGS.

-- 
         EARTH
     smog  |   bricks
 AIR  --  mud  -- FIRE
soda water |   tequila
         WATER
 -- with thanks to fortune



Reply to: