<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Nov 8, 2017 at 1:40 PM, Chad Versace <span dir="ltr"><<a href="mailto:chadversary@chromium.org" target="_blank">chadversary@chromium.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Tue 07 Nov 2017, Dylan Baker wrote:<br>
> Quoting Eric Engestrom (2017-11-07 07:25:53)<br>
> > On Wednesday, 2017-11-01 13:49:03 -0700, Chad Versace wrote:<br>
> > > I tested this in a setup where the builddir was outside of the srcdir.<br>
> > > ---<br>
> > >  src/intel/vulkan/meson.build | 12 ++++++++++++<br>
> > >  1 file changed, 12 insertions(+)<br>
> > ><br>
> > > diff --git a/src/intel/vulkan/meson.build b/src/intel/vulkan/meson.build<br>
> > > index ff24e304ef5..e8b7f407507 100644<br>
> > > --- a/src/intel/vulkan/meson.build<br>
> > > +++ b/src/intel/vulkan/meson.build<br>
> > > @@ -48,6 +48,18 @@ intel_icd = custom_target(<br>
> > >    install : true,<br>
> > >  )<br>
> > ><br>
> > > +dev_icd = custom_target(<br>
> > > +  'dev_icd',<br>
> > > +  input : 'anv_icd.py',<br>
> > > +  output : 'dev_icd.@0@.json'.format(<wbr>target_machine.cpu()),<br>
> ><br>
> > Strictly speaking, shouldn't that be `host_machine` [1] ?<br>
> > I don't see how one would do a canadian build of mesa though, so<br>
> > host == target should always be true.<br>
><br>
> That's my fault. There are (or were) a number of cases where I used target<br>
> instead of host, that can also be a follow up.<br>
><br>
> In any case:<br>
> Acked-by: Dylan Baker <<a href="mailto:dylan@pnwbakers.com">dylan@pnwbakers.com</a>><br>
<br>
</div></div>I build Mesa (with autotools) where host == x86_64 but target == armv7a.<br></blockquote><div><br></div><div>You're using dev_icd with a cross-compile?  Yikes!  I mean, it can work, but that's not what I would have expected.  Also, why are you building anv and targetting armv7a????  Does that even work?<br></div></div><br></div></div>