[Mesa-dev] [PATCH] configure.ac: Strip patch version from LLVM version.

Emil Velikov emil.l.velikov at gmail.com
Mon Dec 5 13:42:49 UTC 2016


On 4 December 2016 at 20:21, Jan Vesely <jan.vesely at rutgers.edu> wrote:
> On Sat, 2016-12-03 at 14:33 -0800, Vinson Lee wrote:
>> Hi, Tobias.
>>
>> <builddir>/bin/llvm-config --includedir returns <srcdir>/include. I am
>> not setting the "--with-llvm-prefix" configure option.
>
> Have you completed mesa build with only the configure.ac fix?
> I'm not sure if using llvm without make install is supported, but I'd
> expect the srcdir headers to fail at some point.
> headers from llvm srcdir are incomplete; parts are generated by the
> build process.
>
This, pretty much.

Some projects use various build system hacks/workarounds in order to
"spare" the make install stage.
Personally not a huge fan of those, regardless - if project A opts for
it, they must ensure that things just work.

Adding workaround(s) in users does not scale and is a bad idea overall.
Emil


More information about the mesa-dev mailing list