util: Add helgrind support for simple_mtx

Annoyingly mtypes.h pulls in simple_mtx, which means we end up needing
to sprinkle a lot of idep_mesautil around.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3773
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7644>
This commit is contained in:
Rob Clark
2020-11-17 11:29:52 -08:00
committed by Marge Bot
parent 7f223a2329
commit 53f7d539cd
44 changed files with 81 additions and 35 deletions

View File

@@ -145,7 +145,7 @@ libintel_compiler = static_library(
include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_intel],
c_args : [no_override_init_args],
gnu_symbol_visibility : 'hidden',
dependencies : idep_nir_headers,
dependencies : [idep_nir_headers, idep_mesautil],
build_by_default : false,
)