[Mesa-dev] configure fails to find llvm since recent llvm commit.

Rafael Avila de Espindola rafael.espindola at gmail.com
Tue Jul 4 15:47:33 UTC 2017


Emil Velikov <emil.l.velikov at gmail.com> writes:

> On 4 July 2017 at 16:04, Rafael Avila de Espindola
> <rafael.espindola at gmail.com> wrote:
>> Emil Velikov <emil.l.velikov at gmail.com> writes:
>>
>>> So the version is FOOgit-$SHA while the DSO uses, FOOsvn. At the same
>>> time at least 3.9.0/3.9.1 has broken llvm-config --libnames/libfiles,
>>> so we cannot rely on that.
>>> Doesn't seem like LLVM is giving us something robust to work with here.
>>>
>>> LLVM users/devs (Rafael), I would suggest up-streaming a patch which
>>> changes that toggle default value, for now.
>>> As LLVM does a few releases where it has a reliable way of determining
>>> the library name users can switch to it.
>>>
>>> How does this sound?
>>
>> I am not sure I understand why having the hash in the version causes
>> problems.
>>
> Because llvm-config --libnames/libfiles is unreliable ;-( Hence we use
> llvm-config --version to get the DSO name.

OK, looks like that is the real bug that needs to be fixed.

Is there a bug report?

Cheers,
Rafael


More information about the mesa-dev mailing list