<div><div dir="auto">Hi, </div><div dir="auto">Sorry for the top-post but the Gmail mobile app no longer believes in inline quoting.</div><div dir="auto"><br></div><div dir="auto">As for installing newer Meson, that's not strictly needed. As you say, Meson deliberately doesn't have difficult or changing dependencies. It can also be run straight from a checkout without mangling $PATH or $PYTHONPATH. Just specify the full path to meson.py and everything will work from there. I've been working with Meson like that for a year or so (old Debian packages and a deep distrust of pip), and it's yet to break on me.</div><div dir="auto"><br></div><div dir="auto">It would even be possible to automate this from an autogen-style script. Having done the numbers for the Wayland conversion, doing this in-tree still takes less space than generating all the piles of guff that autogen creates in your tree.</div><div dir="auto"><br></div><div dir="auto">Cheers, </div><div dir="auto">Daniel</div><br><div class="gmail_quote"><div>On Thu, 28 Sep 2017 at 6:25 pm, Dylan Baker <<a href="mailto:dylan@pnwbakers.com">dylan@pnwbakers.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Quoting Tapani Pälli (2017-09-27 23:34:26)<br>
><br>
><br>
> On 09/27/2017 08:57 PM, Rob Herring wrote:<br>
> > On Wed, Sep 27, 2017 at 12:38 PM, Eric Anholt <<a href="mailto:eric@anholt.net" target="_blank">eric@anholt.net</a>> wrote:<br>
> >> Dylan Baker <<a href="mailto:dylan@pnwbakers.com" target="_blank">dylan@pnwbakers.com</a>> writes:<br>
> >><br>
> >>> [ Unknown signature status ]<br>
> >>> I've gone ahead and pushed the Vulkan drivers meson builds.<br>
> >>><br>
> >>> For those interested in helping finish the conversion, I have a branch<br>
> >>> "wip/meson-4" on my github (<a href="http://github.com/dcbaker/mesa" rel="noreferrer" target="_blank">github.com/dcbaker/mesa</a>) that has i965 and most of<br>
> >>> the core classic mesa stack building. I'm working on GLX, then EGL to start<br>
> >>> testing this stack. Getting gallium building is my next step after that (it'll<br>
> >>> be RadeonSI because I have hardware).<br>
> >>><br>
> >>> I'm also working on getting features into upstream meson to make meson more<br>
> >>> comfortable for mesa. Currently there are patches landed or pending for the two<br>
> >>> workarounds in the meson build we have currently (choosing the right linker and<br>
> >>> indexing into CustomTargets). I'm also still thinking about how we can share<br>
> >>> source files with the other 3 build systems already in mesa (autotools and<br>
> >>> android being the most important, since hopefully our meson will be able to<br>
> >>> support windows in the future, I don't know what will happen when android moves<br>
> >>> to blueprint/soong). If there is anything else please let me know.<br>
> >><br>
> >> Talking with ChromeOS folks at XDC, it sounded like having Android.mk be<br>
> >> a small wrapper around another build system is a totally acceptable and<br>
> >> not unusual thing to do.  Rob, does that seem possible/OK to you?  It<br>
> >> seems like that should seriously reduce the android maintenance burden.<br>
> ><br>
> > I haven't come across any examples doing that, but it seems fine to me<br>
> > if that can work. I'd guess we just need to create a prebuilt target<br>
> > and somehow trigger it to run meson. It could be problematic if<br>
> > anything in mesa is a dependency on another project as there's some<br>
> > expectations about where things are built. But I don't think mesa is a<br>
> > dependency for anything.<br>
><br>
> One possible issue is that meson and its dependencies are not part of<br>
> the supported toolchain for Android, would be surprised if this does not<br>
> become a problem on some level. As example version of Meson on Ubuntu<br>
> LTS (which is the tested and supported distro for android building) is<br>
> 0.29.0 while on Fedora 0.42.0.<br>
<br>
That will be a problem, I very much doubt that mesa will build with meson 0.29,<br>
and there are features going it 0.43 that I would like to depend on. Meson only<br>
has 2 hard requirements, python 3.4+ and ninja 1.6+, so it may be possible to<br>
install an updated meson via pip, but I suspect android will run into similar<br>
issues to windows, specifically that it needs a way to pass dependency<br>
locations.<br>
<br>
I've been looking at the possibility of generating blueprint from meson, which<br>
could the be checked into a branch, but there are some interface mismatches<br>
between meson and soong/blueprint and they could prove somewhat difficult to<br>
solve (specifically around arch specific files).<br>
<br>
Dylan<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote></div></div>