[Mesa-dev] talloc (Was: Merge criteria for glsl2 branch)

José Fonseca jfonseca at vmware.com
Thu Aug 12 04:00:31 PDT 2010


On Wed, 2010-08-11 at 17:40 -0700, Dave Airlie wrote:
> On Thu, Aug 12, 2010 at 9:42 AM, José Fonseca <jfonseca at vmware.com> wrote:
> > On Wed, 2010-08-11 at 12:52 -0700, Ian Romanick wrote:
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >>
> >> José Fonseca wrote:
> >> > Could then Aras Pranckevicius's talloc port to windows be merged into
> >> > glsl2 branch before glsl2 is merged into master?
> >>
> >> I think we learned our lesson with GLEW.  Trying to keep a copy of an
> >> external dependency in our tree only leads to sadness.  I have no
> >> intention to repeat that mistake.
> >
> > Having the GLEW source was quite useful for windows. I guess the lesson
> > would not be not ship source, but only build it if necessary. If talloc
> > source is not needed for Linux then we can just build it when absent.
> > You can even ignore it from automake.
> 
> Can't you guys setup a separate windows deps repo? that you gather all
> the prereqs for building on Windows
> in one place and recommend people check it out before mesa?

Unfortunately there is no standard way to install headers and libraries
in windows -- there's no /usr/include or /usr/lib, and there might be
multiple MSVC versions. There are ways around it, sure. Might be worth
giving a shot eventually.

> Really optimising for the wrong bunch of people here by dragging this
> stuff into mesa git.

Many projects do this: they include the source of other projects, to
make it easier to build without having to build all dependencies.

If this is still bothersome, I can make sure it's only built on non-unix
platforms. We can even put in src/thirdparty/... or somewhere else out
of the way. I really can't see how this causes inconvenience to anybody.

Furthermore, I really don't know any wrong bunch of people here. But I
do know at least one prejudiced person with delusions of grandeur.

Jose



More information about the mesa-dev mailing list