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

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

Those packages which support parallel building in our experience do it
automatically. Those which do not parallel build currently are this way,
because they failed in some release engineering process to build this
way. Nevertheless you can try it again and perhaps it works now with
the current vendor version.

The magic is in "%{l_mflags -O}". I don't think you can override this
from the command line. But you can substitue "%{l_make} %{l_mflags}" in
the .spec file with "%{l_make} %{l_mflags -O}" if you really insist on
parallel building.

But I would leave it as is, because as I said: all packages initially
had parallel building enabled and we switched it off in packages which
failed to build. So if it is off in a package where you would like to
see it on, the chance is high that is doesn't work anyway.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to