[Mesa-stable] [PATCH] configure.ac: detect LLVM patch level when built via cmake

Jonathan Gray jsg at jsg.id.au
Fri Sep 5 19:12:01 PDT 2014


On Fri, Sep 05, 2014 at 08:48:17PM +0100, Emil Velikov wrote:
> On 05/09/14 16:43, Jonathan Gray wrote:
> > In LLVM 3.4.1 and 3.4.2 the patch level was only set in config.h when
> > LLVM was built via autoconf and not when it was built with cmake.
> > Fall back to retrieving the patch level from llvm-config --version to
> > handle this case.
> > 
> Hi Jonathan,
> 
> Can you please file this with the LLVM people ? Would be nice to have it fixed
> at the source, rather than patching every project that uses llvm.
> 
> IIRC their cmake build tends to fall behind the autotools one occasionally -
> there was a "funny" bug with rtti for quite a while. Reports like this one
> will help them notice/fix the issue :)
> 
> Thanks
> Emil

It seems unlikely that there will be any more 3.4 minor releases now
that LLVM 3.5 is out.

The problem is with the LLVM 3.4 branch but not the 3.5 branch or trunk.

http://llvm.org/viewvc/llvm-project/llvm/branches/release_34/include/llvm/Config/config.h.cmake?&view=co
http://llvm.org/viewvc/llvm-project/llvm/branches/release_35/include/llvm/Config/config.h.cmake?&view=co

It looks like a mistake was made by Tom Stellard when merging this
back to 3.4 in:
http://llvm.org/viewvc/llvm-project?view=revision&revision=204262


More information about the mesa-stable mailing list