[Mesa-dev] Lets talk about autotools

Dylan Baker dylan at pnwbakers.com
Tue Sep 18 21:54:51 UTC 2018


Quoting Adam Jackson (2018-09-18 13:57:18)
> On Tue, 2018-09-18 at 13:50 -0700, Dylan Baker wrote:
> 
> > > It would be nice if meson would act like autotools in that regard by
> > > creating the drivers and libraries in specific directories (also as a
> > > configure option if there is concern about compilation speed). 
> > 
> > This is impossible by design. Meson is very specific that its internal directory
> > layout is an implementation detail. On top of that, there are two different
> > backends, a VS and ninja backend, which have slightly different layouts.
> 
> I'm not entirely sure that's true? mesa/build-lib/meson.build could
> have all the final link targets, and their results would show up in
> mesa/${builddir}/build-lib. It'd mean mirroring all the "do I build
> this target or not" logic in that meson.build, and you'd descend into
> that directory last from the top-level mesa/meson.build, but...

Unless you pass --layout=flat (I don't think any released versions have this yet).
Or upstream decides it wants to change something. It's playing with fire either
way, since upstream is very clear that you should not rely on it.

Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180918/d6fa8c66/attachment.sig>


More information about the mesa-dev mailing list