[Mesa-dev] [PATCH] configure.ac: handle llvm built with cmake in one shared library.

Tom Stellard tom at stellard.net
Mon Sep 28 18:31:28 PDT 2015


On Mon, Sep 28, 2015 at 03:15:27PM +0100, Emil Velikov wrote:
> Hi Laurent,
> 
> On 27 September 2015 at 13:21, Laurent Carlier <lordheavym at gmail.com> wrote:
> > llvm can be built with cmake in a libray with the name libLLVM.so.$version
> >
> Do you know if this is intentional and consistent (i.e. all the build
> produce such library/ies) behaviour ?
> 

The name of the library depends on the build system used and not the
version of LLVM.  There was a flag added to llvm-config in 3.8 to
report which build system was used.

-Tom

> If so can you please rework the conditionals roughly like
> 
> if llvm >= 3.8
>   test -f libllvm.so.$version && has_single_so=true
> else
>   test -f libllvm-$version.so && has_single_so=true
> 
> if has_single_so == false
>  ...
> 
> 
> Thanks
> Emil
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list