[Mesa-dev] [PATCH] Android: fix r300g only build
Rob Herring
robh at kernel.org
Thu Apr 27 15:11:24 UTC 2017
On Thu, Apr 27, 2017 at 8:07 AM, Rob Herring <robh at kernel.org> wrote:
> On Wed, Apr 26, 2017 at 6:39 PM, Mauro Rossi <issor.oruam at gmail.com> wrote:
>> 2017-04-27 0:37 GMT+02:00 Rob Herring <robh at kernel.org>:
>>>
>>> On Tue, Apr 25, 2017 at 3:12 PM, Rob Herring <robh at kernel.org> wrote:
>>> > On Tue, Apr 25, 2017 at 1:50 PM, Mauro Rossi <issor.oruam at gmail.com> wrote:
>>> >> 2017-04-25 18:21 GMT+02:00 Emil Velikov <emil.l.velikov at gmail.com>:
>>> >>>
>>> >>> On 24 April 2017 at 22:49, Rob Herring <robh at kernel.org> wrote:
>>> >>> > On Mon, Apr 24, 2017 at 11:59 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>>> >>> >> Hi Rob,
>>> >>> >>
>>> >>> >> On 24 April 2017 at 17:46, Rob Herring <robh at kernel.org> wrote:
>>> >>> >>> If r300g is the only radeon driver built, the Android build fails to
>>> >>> >>> build:
[...]
>>> >> BTW, Rob have you tested the llvm 3.9.0 branch I provided for radeonsi
>>> >> building purposes, does it build with AOSP/O preview?
>>> >
>>> > No, sorry I haven't gotten to that.
>>>
>>> I've now got radeonsi building and the necessary pieces for building
>>> llvm in place. master has moved to blueprint files from makefiles, so
>>> there wasn't a whole lot of direct reuse from your branch. I've pushed
>>> the changes for LLVM[1] and the rest of my clean-up[2]. Any compile
>>> testing on L or M in particular would be great.
>>>
>>> Rob
>>>
>>> [1] https://github.com/robherring/llvm.git amdgpu
>>> [2] https://github.com/robherring/mesa.git android-make-cleanup
>>
>>
>> Thanks Rob, I'll test build in the weekend on M, N
>> as in L libdrm and especially drm_gralloc/drm_hwcomposer require a lot of hacks
>
> I would test with current libdrm.
BTW, mesa lists this as the LLVM version requirements:
LLVM_REQUIRED_GALLIUM=3.3.0
LLVM_REQUIRED_OPENCL=3.6.0
LLVM_REQUIRED_R600=3.8.0
LLVM_REQUIRED_RADEONSI=3.8.0
LLVM_REQUIRED_RADV=3.9.0
LLVM_REQUIRED_SWR=3.9.0
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
More information about the mesa-dev
mailing list