<div dir="ltr">Hi Dylan<div><br></div><div>Do you have the link to patch on patchwork? I'll give it a go</div><div><br></div><div>I'm using meson 0.45 however the cross-file requires more than just defining llvm-config, everything else is normally picked up from what portage is setting in the build environment - though strangely not if clang is used - I'll look into that sometime</div><div><br></div><div>Regards</div><div><br></div><div>Mike</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, 9 Mar 2018 at 16:37 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 Mike Lothian (2018-03-06 05:07:34)<br>
> Hi<br>
><br>
> When compiling wine I also noticed that the d3d.pc files didn't have moduledir<br>
> set, so wine couldn't find it<br>
><br>
> configure: error: pkg-config couldn't find Gallium Nine module<br>
<br>
I've sent a patch for this.<br>
<br>
><br>
> Regards<br>
><br>
> Mike<br>
><br>
> On Tue, 6 Mar 2018 at 02:17 Mike Lothian <<a href="mailto:mike@fireburn.co.uk" target="_blank">mike@fireburn.co.uk</a>> wrote:<br>
><br>
>     Hi<br>
><br>
>     I've been trying to get a Gentoo ebuild ready for meson<br>
><br>
>     I've had to fudge the llvm-config for cross compiling a 32bit mesa on<br>
>     a 64bit machine<br>
<br>
If you're using a new enough meson (0.45) you can specify the llvm-config you<br>
want to use in the cross file.<br>
<br>
><br>
>     I notice that -Dvulkan-drivers= doesn't accept intel,radeon like<br>
>     autotools used to, it also seems as long as one value is correct the<br>
>     other is ignored<br>
<br>
we're using amd instead of radeon. After 18.0 branches I want to bump the meson<br>
requirement so we can use meson's list argument type, which will check for such<br>
problems.<br>
<br>
><br>
>     Also -Dva-libs-path= doesn't play well with absolute paths, or rather<br>
>     install_megadrivers.py is doing something strange - normally gentoo<br>
>     installs everything to a temporary image path then puts those files<br>
>     into the live system. It seems install_megadrivers.py doesn't do this<br>
>     and installs directly to the live system - I worked around it by<br>
>     dropping the /usr<br>
<br>
There's a patch from someone in FreeBSD that might fix this (the way we do<br>
symlinking in install_megadrivers is wrong).<br>
<br>
Sorry it took me so long to find this email, notmuch applied some odd tags to<br>
it.<br>
<br>
Dylan<br>
</blockquote></div>