meson/panfrost: Add dep_valgrind for libpanfrost_pixel_format to fixes the compiling...
authorYonggang Luo <luoyonggang@gmail.com>
Wed, 31 Aug 2022 17:04:42 +0000 (01:04 +0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 31 Aug 2022 20:22:41 +0000 (20:22 +0000)
In file included from src/panfrost/lib/genxml/v9_pack.h:15,
                 from ../../src/panfrost/lib/genxml/gen_macros.h:95,
                 from ../../src/panfrost/lib/pan_format.c:27:
../../src/util/bitpack_helpers.h:34:10: fatal error: valgrind.h: No such file or directory

Fixes: c52d5acf15d ("util,intel: Pull the bit packing helpers from genxml to a common header")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7169

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18350>

src/panfrost/lib/meson.build

index 634f645..f8c34cb 100644 (file)
@@ -33,7 +33,7 @@ foreach ver : pixel_format_versions
     ],
     c_args : ['-DPAN_ARCH=' + ver],
     gnu_symbol_visibility : 'hidden',
-    dependencies : [idep_pan_packers, dep_libdrm],
+    dependencies : [idep_pan_packers, dep_libdrm, dep_valgrind],
 )
 endforeach