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

Andy Furniss adf.lists at gmail.com
Mon Jul 3 12:35:59 UTC 2017


Laurent Carlier wrote:
> Le lundi 3 juillet 2017, 13:53:12 CEST Andy Furniss a écrit :
>> Don't know if mesa needs changing or it's an llvm needs fixing issue,
>> but since llvm commit
>>
>> commit 78fbc18aed8024139cb87c5db69ab5b43dc615d6
>> Author: Rafael Espindola <rafael.espindola at gmail.com>
>> Date:   Fri Jun 30 18:48:33 2017 +0000
>>
>>       Completely disable git/svn version checking if not needed.
>>
>>       Working with git on a branch I find it really annoying that committing
>>       a change causes ninja to think that stuff needs to be rebuilt.
>>
>>       With this change at least nothing in llvm needs to be rebuild when
>>       something is committed.
>>
>>       git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306858
>> 91177308-0d34-0410-b5e6-96231b3b80d8
>>
>> configuring mesa bails after failing to find llvm shared libs (and gives
>> outdated suggestion). Shared libs are installed.
>>
>> checking for AMDGPU... yes
>> configure: error: Could not find llvm shared libraries:
>>           Please make sure you have built llvm with the --enable-shared
>> option
>>           and that your llvm libraries are installed in /usr/lib
>>           If you have installed your llvm libraries to a different
>> directory you
>>           can use the --with-llvm-prefix= configure flag to specify this
>> directory.
>>           NOTE: Mesa is attempting to use llvm shared libraries by default.
>>           If you do not want to build with llvm shared libraries and
>> instead want to
>>           use llvm static libraries then add --disable-llvm-shared-libs
>> to your configure
>>           invocation and rebuild.
>> _______________________________________________
> 
> It's a llvm change, you need to add -DLLVM_APPEND_VC_REV=OFF when you build
> llvm, It should fix the issue.

Ahh, thanks for the info.



More information about the mesa-dev mailing list