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

Rafael Avila de Espindola rafael.espindola at gmail.com
Mon Jul 3 15:10:22 UTC 2017


What check is configure doing?

Is the llvm build a clean one? What is the value of LLVM_APPEND_VC_REV?

Cheers,
Rafael


Andy Furniss <adf.lists at gmail.com> writes:

> 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.


More information about the mesa-dev mailing list