Re: [Mesa-dev] [PATCH 2/3] radv: Use library mtime for cache UUID.

2016-11-23 Thread Bas Nieuwenhuizen
On Tue, Nov 22, 2016 at 2:31 PM, Emil Velikov wrote: > On 22 November 2016 at 01:19, Bas Nieuwenhuizen > wrote: >> We want to also invalidate the cache when LLVM gets changed. As the >> specific LLVM revision is not fixed at build time, we will need to >> check at runtime. Computing a checksum f

Re: [Mesa-dev] [PATCH 2/3] radv: Use library mtime for cache UUID.

2016-11-22 Thread Emil Velikov
On 22 November 2016 at 01:19, Bas Nieuwenhuizen wrote: > We want to also invalidate the cache when LLVM gets changed. As the > specific LLVM revision is not fixed at build time, we will need to > check at runtime. Computing a checksum for LLVM is going to be very > expensive, so just use the mtim

[Mesa-dev] [PATCH 2/3] radv: Use library mtime for cache UUID.

2016-11-21 Thread Bas Nieuwenhuizen
We want to also invalidate the cache when LLVM gets changed. As the specific LLVM revision is not fixed at build time, we will need to check at runtime. Computing a checksum for LLVM is going to be very expensive, so just use the mtime. Tested on my computer that the returned DSO for the LLVM symb