mesa/src
Emil Velikov addb099ce8 anv: use cache uuid based on the build timestamp.
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. Even then
chances of producing the exact same one are very small, if not zero.

v2: Remove .tmp rule. Its not needed since we want for the header to be
regenerated on each time we call make (Eric).

v3:
 - Honour SOURCE_DATE_EPOCH, to make the build reproducible (Michel)
 - Replace the generated header with a define, to prevent needless
builds on consecutive `make' and/or `make install' calls. (Dave)

v4:
 - Keep the timestamp generation at make time. (Jason)

v5:
 - Ensure that file is regenerated on incremental builds.

Cc: Michel Dänzer <michel@daenzer.net>
Cc: Dave Airlie <airlied@gmail.com>
Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-07-05 12:15:23 +01:00
..
compiler glsl: stop allocating memory for UBOs during linking 2016-07-05 20:18:05 +10:00
egl Added pbuffer hooks for surfaceless platform 2016-06-14 08:51:02 -07:00
gallium clover: conditionally use MESA_GIT_SHA1 2016-07-05 12:14:34 +01:00
gbm gbm: Fix comments 2016-06-23 13:55:03 -07:00
getopt
glx Remove wrongly repeated words in comments 2016-06-23 13:55:03 -07:00
gtest Remove wrongly repeated words in comments 2016-06-23 13:55:03 -07:00
hgl
intel anv: use cache uuid based on the build timestamp. 2016-07-05 12:15:23 +01:00
loader Android: move libdrm settings to top-level Android.common.mk 2016-06-13 15:31:29 +01:00
mapi mapi: Export all GLES 3.1 functions in libGLESv2.so 2016-06-29 14:28:59 -07:00
mesa mesa: stop copying SamplerUnits twice 2016-07-05 20:18:05 +10:00
util mesa/gallium: Move u_bit_scan{,64} from gallium to util. 2016-06-14 05:19:10 +02:00
Makefile.am automake: get in-tree `make distclean' working again. 2016-06-13 15:24:44 +01:00
SConscript scons: put the generated git_sha1.h file in top-level src/ directory 2016-06-17 10:33:00 -06:00