[RFC][PATCH 0/3] mesa: Initial build fixups for AOSP/master

Rob Clark robdclark at chromium.org
Thu May 2 20:31:08 UTC 2019


fyi, John pushed a MR w/ the same patches:
https://gitlab.freedesktop.org/mesa/mesa/merge_requests/795

(I'm not really an expert on android build system, but if it works,
then ack-by from me)

BR,
-R

On Thu, May 2, 2019 at 1:20 PM Greg Hartman <ghartman at google.com> wrote:
>
> + dwillemsen at google.com background on the build changes.
>
> Thanks for doing this. It will be helpful to have fixes to make this build again.
>
> On Thu, May 2, 2019 at 11:03 AM John Stultz <john.stultz at linaro.org> wrote:
>>
>> Somewhat recent changes in the AOSP build system has been made
>> which fairly severely restricts the build environment. This has
>> made it difficult to test mesa/master w/ AOSP/master.
>>
>> I'm working with others to try to remedy this, but as a first
>> step I used some hacks to temporarily remove the build environment
>> restrictions, and unsuprizingly found mesa/master has a few
>> build issues when trying to build w/ freedreno.
>>
>> So this patch set provides only some very basic build fixes
>> that are needed to get mesa/master building w/ AOSP/master
>> (minus the build restrictions on external tools).
>>
>> Feedback would be greatly appreciated!
>>
>> thanks
>> -john
>>
>> Cc: Rob Clark <robdclark at chromium.org>
>> Cc: Emil Velikov <emil.l.velikov at gmail.com>
>> Cc: Amit Pundir <amit.pundir at linaro.org>
>> Cc: Sumit Semwal <sumit.semwal at linaro.org>
>> Cc: Alistair Strachan <astrachan at google.com>
>> Cc: Greg Hartman <ghartman at google.com>
>> Cc: Tapani Pälli <tapani.palli at intel.com>
>> Cc: Jason Ekstrand <jason at jlekstrand.net>
>>
>> Alistair Strachan (1):
>>   mesa: android: Remove unnecessary dependency tracking rules
>>
>> Amit Pundir (1):
>>   mesa: android: freedreno: build libfreedreno_{drm,ir3} static libs
>>
>> John Stultz (1):
>>   mesa: android: freedreno: Fix build failure due to path change
>>
>>  Android.mk                                   |  1 +
>>  src/compiler/Android.glsl.gen.mk             |  2 -
>>  src/compiler/Android.nir.gen.mk              |  2 -
>>  src/freedreno/Android.drm.mk                 | 41 ++++++++++++++++
>>  src/freedreno/Android.ir3.mk                 | 51 ++++++++++++++++++++
>>  src/freedreno/Android.mk                     | 30 ++++++++++++
>>  src/freedreno/Makefile.sources               |  2 +
>>  src/gallium/Android.common.mk                |  5 +-
>>  src/gallium/drivers/freedreno/Android.gen.mk |  2 +-
>>  src/gallium/drivers/freedreno/Android.mk     |  2 +-
>>  src/gallium/targets/dri/Android.mk           |  4 ++
>>  11 files changed, 135 insertions(+), 7 deletions(-)
>>  create mode 100644 src/freedreno/Android.drm.mk
>>  create mode 100644 src/freedreno/Android.ir3.mk
>>  create mode 100644 src/freedreno/Android.mk
>>
>> --
>> 2.17.1
>>


More information about the dri-devel mailing list