[Mesa-dev] [PATCH] Android: fix r300g only build

Ilia Mirkin imirkin at alum.mit.edu
Thu Apr 27 16:18:38 UTC 2017


On Thu, Apr 27, 2017 at 11:36 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> On 27 April 2017 at 16:11, Rob Herring <robh at kernel.org> wrote:
>
>>
>> BTW, mesa lists this as the LLVM version requirements:
>>
>> LLVM_REQUIRED_GALLIUM=3.3.0
> src/gallium/auxiliary/{draw,gallivm}, used by
>  - nouveau (nv30), i915, r300, softpipe (yes) and svga  - optional
>  - llvmpipe, swr, radeonsi - mandatory

Technically, it's optionally used by everything as it's used for
GL_FEEDBACK implementation by st/mesa. But the drivers you point at do
use it for more than just that. However for none of the "optional"
ones is llvm required (perhaps that's your point) - draw can operate
without llvm as well.

  -ilia

>
>> LLVM_REQUIRED_OPENCL=3.6.0
> src/gallium/state_trackers/clover/
>
>> LLVM_REQUIRED_R600=3.8.0
> src/gallium/drivers/{r600,radeon}
>
>> LLVM_REQUIRED_RADEONSI=3.8.0
> src/gallium/drivers/{radeonsi,radeon}
>
>> LLVM_REQUIRED_RADV=3.9.0
> src/amd/vulkan/
>
>> LLVM_REQUIRED_SWR=3.9.0
> src/gallium/drivers/swr
>
>>
>> I'm not exactly sure what in gallium only needs LLVM 3.3, but it looks
>> to me like we need at least 3.8 and that would limit us to Android N
>> and later for enabling LLVM. Is that a correct assumption for
>> android-x86? We are only talking about what current mesa master
>> supports here.
>>
> Rob the above list should help you connect the LLVM version dots.
> On the question - as long as you guys are happy, I'm happy :-)
>
> -Emil
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list