[Mesa-dev] [PATCH] anv: vulkan: remove the anv_device.$(OBJEXT) rule

Jason Ekstrand jason at jlekstrand.net
Wed Jul 6 19:28:08 UTC 2016


On Wed, Jul 6, 2016 at 10:46 AM, Emil Velikov <emil.l.velikov at gmail.com>
wrote:

> On 6 July 2016 at 16:39, Jason Ekstrand <jason at jlekstrand.net> wrote:
> > So here's a thought: could we make anv_timestamp.h generation trigger
> off of
> > libvulkan_intel.so getting rebuilt?  I'm not quite sure how one would
> even
> > do that but it seems like a thing you might be able to do...
> >
> Not sure I fully understood you here. You're thinking about having
> dummy file for the initial `make' invocation, and regenerating it as
> the final (shared) library is created ?
>
> I believe that'll still get the build/link done twice, plus it'll
> produce a nasty result for people that don't do "make && make install"
> but a straight "make install".
>

I'm not 100% sure what I meant. :-)  More to the point, I know what I meant
but I don't know how to get there.  What I meant is that you should
regenerate the timestamp if and only if libvulkan_intel needs to be
rebuilt.  Maybe we can do that by providing some dependencies to
anv_timestamp?  I honestly have no idea how to actually accomplish it.
Mostly just food for thought.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160706/1bb83a2d/attachment-0001.html>


More information about the mesa-dev mailing list