mesa/src/intel/mda
Valentine Burley 190ce8280f
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
meson: Add Soong compatibility compiler flags to Vulkan drivers
Suggested by @gurchetansingh.

Android's Soong build system treats several compiler warnings as errors
by default: https://android.googlesource.com/platform/build/soong/+/27f57506/cc/config/global.go/#218

To catch these issues in Mesa, introduce `soong_compat_c_args`
and `soong_compat_cpp_args` with the following flags treated as errors:
 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS
 -Werror=date-time
 -Werror=gnu-alignof-expression
 -Werror=ignored-qualifiers
 -Werror=implicit-fallthrough
 -Werror=int-conversion
 -Werror=missing-prototypes
 -Werror=pragma-pack
 -Werror=pragma-pack-suspicious-include
 -Werror=sizeof-array-div
 -Werror=string-plus-int
 -Werror=unreachable-code-loop-increment

These compatibility flags are added to the meson configurations
for ANV, Gfxstream, Lavapipe, PanVK, Turnip, and Venus.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Acked-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Gurchetan Singh <gurchetan.singh.foss@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41644>
2026-05-22 07:09:49 +00:00
..
debug_archiver.c intel/mda: Add MDA_FILTER to select which archives to generate 2025-09-24 23:08:45 -07:00
debug_archiver.h
mda.c intel/mda: Use -W for color words diff and -U for regular unified diff 2026-01-28 22:11:11 +00:00
mda_match.c intel/mda: Change the matching logic 2026-01-28 21:56:59 +00:00
mda_private.h intel/mda: Change the matching logic 2026-01-28 21:56:59 +00:00
mda_test.cpp intel/mda: Change the matching logic 2026-01-28 21:56:59 +00:00
meson.build meson: Add Soong compatibility compiler flags to Vulkan drivers 2026-05-22 07:09:49 +00:00
slice.c intel/mda: Fix gnu-empty-initializer warning 2025-09-26 08:30:16 +00:00
slice.h
slice_test.cpp
slice_test.h
tar.c
tar.h
tar_test.cpp intel/mda: Use a vector to track the contents variable 2025-10-30 20:03:24 +00:00