obmtool and more than one CPU

Bernhard Reiter bernhard at intevation.de
Mon Jan 23 11:06:53 CET 2006


Am Dienstag, 17. Januar 2006 10:51 schrieb Andreas Gungl:
> Am Montag, 16. Januar 2006 22:49 schrieb Patrick Noffke:
> > > building Kolab via the obmtool? Is there any env setting available to
> > > force a "make -j ..." or so?
> >
> > I think it's:
> > export MAKEFLAGS=-j2
>
> No, that MAKEOPT / MAKEFLAGS stuff doesn't work.
> I tracked it down to changing /kolab/etc/openpkg/rpmmacros as following:
> ...
> #   tool options
> #%l_mflags(O)             %(%{l_sane_env}; %{l_rpmtool} mflags %{-O:-O}
> %{l_make}) %l_mflags(O)             %(%{l_sane_env}; %{l_rpmtool} mflags -O
> %{l_make}) ...
> The -O flag will trigger the detection of the amount of CPU's in the
> machine. But I think there should be a better place to switch that -O
> globally. Anyone of the OpenPkg people around to answer that?

I suggest asking this on the OpenPKG users list
(or check out their good documentation, maybe it says something about it.)




More information about the users mailing list