Re: [Mesa-dev] [PATCH v2 2/4] anv: use cache uuid based on the build timestamp.

2016-06-22 Thread Emil Velikov
On 22 June 2016 at 21:02, Jason Ekstrand wrote: >> @@ -131,7 +131,14 @@ anv_entrypoints.c : anv_entrypoints_gen.py >> $(vulkan_include_HEADERS) >> $(AM_V_GEN) cat $(vulkan_include_HEADERS) |\ >> $(PYTHON2) $(srcdir)/anv_entrypoints_gen.py code > $@ >> >> -BUILT_SOURCES = $(VULKAN_

Re: [Mesa-dev] [PATCH v2 2/4] anv: use cache uuid based on the build timestamp.

2016-06-22 Thread Jason Ekstrand
On Wed, Jun 22, 2016 at 11:25 AM, Emil Velikov wrote: > From: Emil Velikov > > Do not rely on the git sha1: > - its current truncated form makes it less unique > - it does not attribute for local (Vulkand or otherwise) changes > > Use a timestamp produced at the time of build. It's perfectly u

[Mesa-dev] [PATCH v2 2/4] anv: use cache uuid based on the build timestamp.

2016-06-22 Thread Emil Velikov
From: Emil Velikov Do not rely on the git sha1: - its current truncated form makes it less unique - it does not attribute for local (Vulkand or otherwise) changes Use a timestamp produced at the time of build. It's perfectly unique, unless someone explicitly thinkers with their system clock. E