On Fri, May 01, 2015 at 07:47:42PM +0200, Martin Jansa wrote:
> From: Andre McCurdy <[email protected]>
> 
> As per the Mesa 10.2 release notes, "--with-llvm-shared-libs"
> has been renamed to "--enable-llvm-shared-libs".
> 
>   http://www.mesa3d.org/relnotes/10.2.html

Be aware that this correctly enables gallium-llvm, but then
gbm_gallium_drm can fail to find LLVM libs:

ld: cannot find -lLLVMMCJIT
| collect2: error: ld returned 1 exit status
| make[3]: *** [gbm_gallium_drm.la] Error 1

at least in some configurations, I'm looking what's the difference in
builds I'm seeing failing.

> 
> Signed-off-by: Andre McCurdy <[email protected]>
> Signed-off-by: Ross Burton <[email protected]>
> ---
>  meta/recipes-graphics/mesa/mesa.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-graphics/mesa/mesa.inc 
> b/meta/recipes-graphics/mesa/mesa.inc
> index 1857f3c..658bd3a 100644
> --- a/meta/recipes-graphics/mesa/mesa.inc
> +++ b/meta/recipes-graphics/mesa/mesa.inc
> @@ -62,7 +62,7 @@ PACKAGECONFIG[gallium]      = 
> "--with-gallium-drivers=${GALLIUMDRIVERS}, --witho
>  PACKAGECONFIG[gallium-egl]  = "--enable-gallium-egl, --disable-gallium-egl"
>  PACKAGECONFIG[gallium-gbm]  = "--enable-gallium-gbm, --disable-gallium-gbm"
>  MESA_LLVM_RELEASE ?= "3.3"
> -PACKAGECONFIG[gallium-llvm] = "--enable-gallium-llvm 
> --with-llvm-shared-libs, --disable-gallium-llvm, llvm${MESA_LLVM_RELEASE} \
> +PACKAGECONFIG[gallium-llvm] = "--enable-gallium-llvm 
> --enable-llvm-shared-libs, --disable-gallium-llvm, llvm${MESA_LLVM_RELEASE} \
>                                 ${@'elfutils' if 
> ${GALLIUMDRIVERS_LLVM33_ENABLED} else ''}"
>  export WANT_LLVM_RELEASE = "${MESA_LLVM_RELEASE}"
>  
> -- 
> 2.3.5
> 

-- 
Martin 'JaMa' Jansa     jabber: [email protected]
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to