[Buildroot] [PATCH] mesa3d: specify llvm-prefix

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Mar 31 11:55:20 UTC 2015


Dear Gustavo Zacarias,

On Tue, 31 Mar 2015 07:54:30 -0300, Gustavo Zacarias wrote:
> On 03/31/2015 06:25 AM, Thomas Petazzoni wrote:
> >> +# Avoid automatic search of llvm-config
> >> +MESA3D_CONF_OPTS += --with-llvm-prefix=$(STAGING_DIR)/usr/bin
> > 
> > Shouldn't we instead test if LLVM is available, explicitly disable LLVM
> > support if not, and enable it if LLVM is available?
> 
> We don't have a llvm package in BR, so testing is a non-option.

Well what I meant is that since we don't have a LLVM option right now,
we should display LLVM support completely.

And we do have patches in patchwork to add LLVM.

> There's no explicit option to disable llvm support, hence this is as
> close as it gets without patching.
> (--without-gallium-drivers comes close, but it takes down a whole bunch
> of other stuff as well).

Ok. Applied then, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list