automake: add SWR LLVM gen_builder.hpp workaround
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 18 May 2017 20:27:01 +0000 (21:27 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 19 May 2017 23:12:56 +0000 (00:12 +0100)
commit5233eaf9ee85bb551ea38c1e2bbd8ac167754e50
tree23efdea2cad0a99b00236189dce5b1fa96e6ecf0
parent80e643345ed0d8d3263b4ee23dd2998f0da170a8
automake: add SWR LLVM gen_builder.hpp workaround

As gen_builder.hpp file is generated, it contains information that is
specific to the LLVM version it originates from.

As suggested by Tim, the file seems to be forwards compatible. So in
order to produce ship a file which will work everywhere we should be
using earlies supported LLVM - 3.9.

With this we're back on track and can build all of mesa without
python/mako/flex and friends.

In the long term we might want to see if the python generators can be
updated to produce LLVM version agnostic files. At least within the
range supported by SWR.

Cc: <mesa-stable@lists.freedesktop.org>
Cc: Chuck Atkins <chuck.atkins@kitware.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Tim Rowley <timothy.o.rowley@intel.com>
configure.ac
src/gallium/drivers/swr/Makefile.am