recipes-graphics: Add parallel-deqp-runner recipe

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Aníbal Limón
2020-07-10 09:21:14 -05:00
committed by Khem Raj
parent e93d527a33
commit 66793d3542
2 changed files with 56 additions and 0 deletions
@@ -0,0 +1,42 @@
From 2b74a5b160c0500291c554ab5c0944f502e72a42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= <anibal.limon@linaro.org>
Date: Thu, 9 Jul 2020 20:00:53 +0200
Subject: [PATCH] meson.build: WORKAROUND Remove vulkan dependency
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
We need a patch in the source code to allow enable when DISTRO_FEATURES
contains vulkan.
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
---
meson.build | 6 ------
1 file changed, 6 deletions(-)
diff --git a/meson.build b/meson.build
index db97c26..4c1b865 100644
--- a/meson.build
+++ b/meson.build
@@ -3,21 +3,15 @@ project('parallel-deqp-runner', ['c', 'cpp'],
cpp = meson.get_compiler('cpp')
thread_dep = dependency('threads')
-vulkan_dep = dependency('vulkan')
fs_dep = cpp.find_library('stdc++fs', required : false)
if not fs_dep.found()
fs_dep = cpp.find_library('c++fs')
endif
-
deqp_runner = executable('deqp-runner',
'src/deqp-runner.cc',
dependencies : [thread_dep, fs_dep],
install : true)
-executable('hang-detection',
- 'src/hang_detection.c',
- dependencies: [vulkan_dep])
-
subdir('test')
@@ -0,0 +1,14 @@
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=4f59d6446bf2e004e80df1a0937129fa"
SRC_URI = "git://gitlab.freedesktop.org/mesa/parallel-deqp-runner.git;protocol=https \
file://0001-meson.build-WORKAROUND-Remove-vulkan-dependency.patch \
"
# Modify these as desired
PV = "2020.06.15+git${SRCPV}"
SRCREV = "e1642fb691d29b1462504b58916f7f514a963e80"
S = "${WORKDIR}/git"
inherit pkgconfig meson