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

2016-06-27 Thread Michel Dänzer
On 24.06.2016 19:21, Emil Velikov wrote: > On 24 June 2016 at 03:32, Michel Dänzer wrote: >> On 23.06.2016 22:25, Emil Velikov wrote: >>> On 23 June 2016 at 03:49, Michel Dänzer wrote: On 22.06.2016 21:04, Emil Velikov wrote: > From: Emil Velikov

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

2016-06-24 Thread Emil Velikov
On 24 June 2016 at 03:32, Michel Dänzer wrote: > On 23.06.2016 22:25, Emil Velikov wrote: >> On 23 June 2016 at 03:49, Michel Dänzer wrote: >>> On 22.06.2016 21:04, Emil Velikov wrote: From: Emil Velikov Do not

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

2016-06-24 Thread Emil Velikov
On 24 June 2016 at 03:59, Dave Airlie wrote: > On 23 June 2016 at 23:25, Emil Velikov wrote: >> On 23 June 2016 at 03:49, Michel Dänzer wrote: >>> On 22.06.2016 21:04, Emil Velikov wrote: From: Emil Velikov

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

2016-06-23 Thread Dave Airlie
On 23 June 2016 at 23:25, Emil Velikov wrote: > On 23 June 2016 at 03:49, Michel Dänzer wrote: >> On 22.06.2016 21:04, Emil Velikov wrote: >>> From: Emil Velikov >>> >>> Do not rely on the git sha1: >>> - its current

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

2016-06-23 Thread Michel Dänzer
On 23.06.2016 22:25, Emil Velikov wrote: > On 23 June 2016 at 03:49, Michel Dänzer wrote: >> On 22.06.2016 21:04, Emil Velikov wrote: >>> From: Emil Velikov >>> >>> Do not rely on the git sha1: >>> - its current truncated form makes it less unique

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

2016-06-23 Thread Emil Velikov
On 23 June 2016 at 03:49, Michel Dänzer wrote: > On 22.06.2016 21:04, 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

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

2016-06-22 Thread Michel Dänzer
On 22.06.2016 21:04, 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.

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

2016-06-22 Thread Emil Velikov
On 22 June 2016 at 17:07, Eric Engestrom wrote: > On Wed, Jun 22, 2016 at 04:57:39PM +0100, Eric Engestrom wrote: >> On Wed, Jun 22, 2016 at 01:04:41PM +0100, Emil Velikov wrote: >> > From: Emil Velikov > > [...] > >> > diff --git

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

2016-06-22 Thread Eric Engestrom
On Wed, Jun 22, 2016 at 04:57:39PM +0100, Eric Engestrom wrote: > On Wed, Jun 22, 2016 at 01:04:41PM +0100, Emil Velikov wrote: > > From: Emil Velikov [...] > > diff --git a/src/intel/vulkan/Makefile.am b/src/intel/vulkan/Makefile.am > > index 4d9ff90..8332ae5 100644

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

2016-06-22 Thread Eric Engestrom
On Wed, Jun 22, 2016 at 01:04:41PM +0100, 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

[Mesa-dev] [PATCH 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