[PATCH 2/2] new files are added in meson.build file
Himanshu Nayak
himanshu.nayak at amd.com
Tue Mar 19 12:59:15 UTC 2024
---
tests/amdgpu/meson.build | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/tests/amdgpu/meson.build b/tests/amdgpu/meson.build
index a58d18ad3..0f5eb197f 100644
--- a/tests/amdgpu/meson.build
+++ b/tests/amdgpu/meson.build
@@ -60,10 +60,19 @@ if libdrm_amdgpu.found()
endif
foreach prog : amdgpu_progs
- test_executables += executable(prog, prog + '.c',
+ if prog == 'amd_vcn'
+ test_executables += executable(prog, prog + '.c', 'amd_vcn_common.c', 'amd_vcn_hevc.c',
dependencies : amdgpu_deps,
install_dir : amdgpudir,
install_rpath : amdgpudir_rpathdir,
install : true)
+
+ else
+ test_executables += executable(prog, prog + '.c',
+ dependencies : amdgpu_deps,
+ install_dir : amdgpudir,
+ install_rpath : amdgpudir_rpathdir,
+ install : true)
+ endif
test_list += join_paths('amdgpu', prog)
endforeach
--
2.34.1
More information about the igt-dev
mailing list