On Mon, Jul 07, 2003, Conrad Steenberg wrote:

> Hi
> 
> Is there a standard flag to use with e.g. 'rpm -ba' to do a parallel
> compile of a given package?

Makefiles need to be very precise to allow parallel building to work
correctly. Some packages do have appropriate Makefiles and there we
use a command like:

   %{l_make} %{l_mflags -O}

to select a parallel build (usually 'make -j 4') automatically. For
other packages a parallel build is likely to fail, in particular
when running on SMP machines with fine-grain locking like Sun Enterprise
boxes running Solaris.

Greetings,
-- 
    ,eM""=.            a"-.                         Michael van Elst
   dWWMWM" -          :GM==;                        [EMAIL PROTECTED]
  :WWMWMw=--.          "W='  cable & wireless
   9WWMm==-.
    "-Wmw-"  CABLE & WIRELESS
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to