[Mesa-dev] [PATCH] gallium: auxiliary: Fix standalone Android build of u_cpu_detect (v2)

Emil Velikov emil.l.velikov at gmail.com
Wed Jul 19 12:35:25 UTC 2017


On 18 July 2017 at 08:20, Tomasz Figa <tfiga at chromium.org> wrote:
> Commit 463b7d0332c5("gallium: Enable ARM NEON CPU detection.")
> introduced CPU feature detection based Android cpufeatures library.
> Unfortunately it also added an assumption that if PIPE_OS_ANDROID is
> defined, the library is also available, which is not true for the
> standalone build without using Android build system.
>
> Fix it by defining HAS_ANDROID_CPUFEATURES in Android.mk and replacing
> respective #ifdefs to use it instead.
>
> v2:
>  - Add a comment explaining why the separate flag is needed (Emil).
>
Thanks for the update Tomasz.
Added r-b tags and pushed to master.

-Emil


More information about the mesa-dev mailing list