[Mesa-dev] mesademos build system: would one be enough?

Jose Fonseca jfonseca at vmware.com
Mon Nov 21 12:17:28 PST 2011



----- Original Message -----
> On 11/21/2011 09:40 AM, Eric Anholt wrote:
> > On Mon, 21 Nov 2011 03:17:03 -0800 (PST), Jose Fonseca
> > <jfonseca at vmware.com> wrote:
> >> Johannes Obermayr's recent patch series remind me of one thing
> >> I've
> >> been planning to ask here for quite some time:
> >>
> >> Would anybody oppose dropping automake build system in mesademos
> >> for
> >> just cmake ?
> > 
> > cmake is the worst Linux build system I think I've ever
> > encountered,
> > including automake and the various custom garbage I've seen in
> > software
> > I've packaged.  Its ability to make a modern CPU look slow is
> > stunning.
> > That said, I don't care to maintain mesa-demos (it's why I wanted
> > it cut
> > out of Mesa core), so I don't really have a say here.
> 
> In piglit, the thing that's really irritating about CMake is the fact
> that if I simply type 'make', it slowly enumerates every single one
> of
> the tests instead of just updating the one or two targets I've
> changed.
>  With automake, if nothing needs updating, it returns almost
>  immediately
> and says "Nothing to be done".  cmake is incredibly slow.
> 
> That said, I vastly prefer only having one build system, so if it has
> to
> be CMake, then...that's fine.  Much better than having two.
> 
> Presumably the reason for picking CMake over Automake is that it's
> easier to use on Windows?

Correct. The only mean to use automake on windows is through cygwin/msys, and it's probably limited to Cygwin/MinGW gnu compiler only. I don't think it's possible to use Microsoft compiler with automake at all.

Jose


More information about the mesa-dev mailing list