-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've just commited a change based on your patch that works when I do
make -j64 on a dual core machine. The Makefile is still pretty crap - it
doesn't automatically generate dependencies for a start, so I'll
probably have another look at it soon...
On 28/11/10 15:37, Andrew Benton wrote:
> Hello,
> redbutton-browser compiles fine for me if I compile it with make -j1
> but if I try 2 jobs or more it falls over itself so I asked for some help on
> linuxquestions
> http://www.linuxquestions.org/questions/programming-9/gnu-make-parallel-problem-846899/
>
> The attached patch includes several fixes. Many of the object files
> depend on ISO13522-MHEG-5.c, ISO13522-MHEG-5.h and clone.c but the
> Makefile doesn't tell make that they do. This can be fixed with an
> OBJS target like this:
>
> ${OBJS}: ISO13522-MHEG-5.h clone.c
>
> make doesn't need to be called as a subprocess to compile xsd2c as long
> as the Makefile knows that ISO13522-MHEG-5.h, ISO13522-MHEG-5.c and
> dertest-mheg.c depend on xsd2c.
> With the patch applied redbutton browser compiles fine for me with make
> -j16. It still falls over itself if I try make -j64 so there is still
> some work to be done, but I think this patch is a step in the right
> direction.
>
> Andy
>
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
>
>
>
> _______________________________________________
> Redbutton-devel mailing list
> Red...@li...
> https://lists.sourceforge.net/lists/listinfo/redbutton-devel
- --
Simon Kilvington
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEUEARECAAYFAkz3084ACgkQmt9ZifioJSxvLwCXbORHxph1Sr2H3wbydPhOUUTs
hwCfdx5MGGBp4BRHiCsaKsF/EsaNT2o=
=DKpA
-----END PGP SIGNATURE-----
|