[OE-core] [dizzy][PATCH] mesa: update --with-llvm-shared-libs configure option

Martin Jansa martin.jansa at gmail.com
Wed May 6 15:39:33 UTC 2015


On Fri, May 01, 2015 at 07:47:42PM +0200, Martin Jansa wrote:
> From: Andre McCurdy <armccurdy at gmail.com>
> 
> 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 <armccurdy at gmail.com>
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
>  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: Martin.Jansa at gmail.com



More information about the Openembedded-core mailing list