[Mesa-dev] [PATCH v3 12/25] configure.ac: Move gallium LLVM checks

Tobias Droste tdroste at gmx.de
Wed Oct 12 18:48:19 UTC 2016


Am Mittwoch, 12. Oktober 2016, 19:39:47 CEST schrieb Jose Fonseca:
> >> 
> >> Right now --enable-gallium-llvm will be set to no if it is "auto" on non
> >> x86.
> >> 
> >> gallivm/llvm use the x86 target
> > 
> > I haven't look too closely at the llvm code but there's nothing in
> > scons/automake which supports this, perhaps Jose can confirm.
> > 
> > Jose, does the gallium llvm code require the x86 target or can it work
> > with other as well ? At least in theory.
> 
> At VMware we only use llvmpipe + LLVM with x86: we have CI in place to
> make sure it works.
> 
> I understand others have it working with PowerPC and ARM.  The code is
> there.  So we shouln't forbid people from enabling if they want.
> 
> (In fact, in theory llvmpipe should work any CPU that's supported by
> LLVM.  But I wouldn't be surprised if there are bugs in practice.)
> 
> 
> I'm not involved in these porting efforts myself.  I don't know how
> stable llvmpipe on PowerPC/ARM is kept (whether there's any CI in
> place), and therefore I can't say it's OK to enable LLVM by default
> outside x86 or not.

Ok good to know. Then I will check version etc. for all CPUs but only "auto 
enable" it on x86.

> 
> 
> Jose


More information about the mesa-dev mailing list