aco/meson: remove unnecessary dependencies

Also moves idep_vulkan_util_headers to /tests/meson.build

Reviewed-by: Tony Wasserka <tony.wasserka@gmx.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11271>
This commit is contained in:
Daniel Schürmann
2021-06-14 12:58:24 +02:00
committed by Marge Bot
parent 0eea0e55ad
commit 5e3297a97d
2 changed files with 4 additions and 14 deletions
+3 -13
View File
@@ -47,12 +47,6 @@ aco_builder_h = custom_target(
depend_files : aco_depends,
)
# Headers-only dependency
idep_aco_headers = declare_dependency(
sources : [aco_opcodes_h],
include_directories : include_directories('.'),
)
libaco_files = files(
'aco_dead_code_analysis.cpp',
'aco_dominance.cpp',
@@ -94,14 +88,10 @@ _libaco = static_library(
'aco',
[libaco_files, aco_opcodes_c, aco_opcodes_h, aco_builder_h],
include_directories : [
inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_compiler, inc_amd, inc_amd_common, inc_amd_common_llvm,
],
link_with : [
libamd_common
inc_include, inc_src, inc_gallium, inc_compiler, inc_amd, inc_amd_common,
],
dependencies : [
dep_llvm, dep_thread, dep_elf, dep_libdrm_amdgpu, dep_valgrind,
idep_nir_headers, idep_amdgfxregs_h, idep_vulkan_util_headers,
dep_llvm, dep_thread, dep_valgrind, idep_nir_headers, idep_amdgfxregs_h, idep_mesautil,
],
gnu_symbol_visibility : 'hidden',
build_by_default : true,
@@ -110,6 +100,6 @@ _libaco = static_library(
# Also link with aco
idep_aco = declare_dependency(
dependencies : idep_aco_headers,
include_directories : include_directories('.'),
link_with : _libaco,
)
+1 -1
View File
@@ -61,7 +61,7 @@ test(
libamd_common, libamd_common_llvm, libvulkan_radeon,
],
dependencies : [
dep_llvm, dep_thread, idep_aco, idep_nir, idep_mesautil
dep_llvm, dep_thread, idep_aco, idep_nir, idep_mesautil, idep_vulkan_util_headers,
],
gnu_symbol_visibility : 'hidden',
build_by_default : true,