obmtool and more than one CPU

Andreas Gungl Andreas.Gungl at osp-dd.de
Tue Jan 24 09:30:03 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?

Sorry for replying to a message of myself.
I just wanted to warn you to to try this out. There are some packages which simply 
don't build using "make -j...". After using a normal "make", the packages were built
properly. :-(

Andreas




More information about the users mailing list