On Wed, Jul 6, 2016 at 10:46 AM, Emil Velikov <emil.l.veli...@gmail.com> wrote:
> On 6 July 2016 at 16:39, Jason Ekstrand <ja...@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.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev