0001-meson.build-WORKAROUND-Remove-vulkan-dependency.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. From 2b74a5b160c0500291c554ab5c0944f502e72a42 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= <anibal.limon@linaro.org>
  3. Date: Thu, 9 Jul 2020 20:00:53 +0200
  4. Subject: [PATCH] meson.build: WORKAROUND Remove vulkan dependency
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. We need a patch in the source code to allow enable when DISTRO_FEATURES
  9. contains vulkan.
  10. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
  11. ---
  12. meson.build | 6 ------
  13. 1 file changed, 6 deletions(-)
  14. diff --git a/meson.build b/meson.build
  15. index db97c26..4c1b865 100644
  16. --- a/meson.build
  17. +++ b/meson.build
  18. @@ -3,21 +3,15 @@ project('parallel-deqp-runner', ['c', 'cpp'],
  19. cpp = meson.get_compiler('cpp')
  20. thread_dep = dependency('threads')
  21. -vulkan_dep = dependency('vulkan')
  22. fs_dep = cpp.find_library('stdc++fs', required : false)
  23. if not fs_dep.found()
  24. fs_dep = cpp.find_library('c++fs')
  25. endif
  26. -
  27. deqp_runner = executable('deqp-runner',
  28. 'src/deqp-runner.cc',
  29. dependencies : [thread_dep, fs_dep],
  30. install : true)
  31. -executable('hang-detection',
  32. - 'src/hang_detection.c',
  33. - dependencies: [vulkan_dep])
  34. -
  35. subdir('test')