added my Recipes

This commit is contained in:
2024-07-11 14:16:35 +02:00
parent 38bc4f53ac
commit 09b621d929
7118 changed files with 525762 additions and 3 deletions

View File

@@ -0,0 +1,45 @@
From 98bef35c010a9c7891634fe9bcc4b560abbcb4e9 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 12 Apr 2022 11:29:50 -0700
Subject: [PATCH] memmove and memchr are C APIs not C++ std namespace
Fixes build error
../git/src/deqp-runner.cc: In member function 'Line_reader::read_status Line_reader::read(char**, double)':
../git/src/deqp-runner.cc:249:10: error: 'memmove' is not a member of 'std'; did you mean 'wmemmove'?
249 | std::memmove(buf_.data(), buf_.data() + skip_sz_, valid_sz_);
| ^~~~~~~
| wmemmove
../git/src/deqp-runner.cc:255:35: error: 'memchr' is not a member of 'std'; did you mean 'wmemchr'?
255 | while (!(newline = (char *)std::memchr(buf_.data(), '\n', valid_sz_)) &&
| ^~~~~~
| wmemchr
Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/parallel-deqp-runner/-/merge_requests/17]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
src/deqp-runner.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/deqp-runner.cc b/src/deqp-runner.cc
index 1cc8a55..55a15f9 100644
--- a/src/deqp-runner.cc
+++ b/src/deqp-runner.cc
@@ -246,13 +246,13 @@ Line_reader::read_status Line_reader::read(char **text, double timeout) {
if (skip_sz_) {
valid_sz_ -= skip_sz_;
- std::memmove(buf_.data(), buf_.data() + skip_sz_, valid_sz_);
+ memmove(buf_.data(), buf_.data() + skip_sz_, valid_sz_);
skip_sz_ = 0;
}
char *newline;
bool end = false;
- while (!(newline = (char *)std::memchr(buf_.data(), '\n', valid_sz_)) &&
+ while (!(newline = (char *)memchr(buf_.data(), '\n', valid_sz_)) &&
!end && valid_sz_ + 1 < (int)buf_.size()) {
for (;;) {
struct pollfd p = {};
--
2.35.1

View File

@@ -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')

View File

@@ -0,0 +1,15 @@
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=4f59d6446bf2e004e80df1a0937129fa"
SRC_URI = "git://gitlab.freedesktop.org/mesa/parallel-deqp-runner.git;protocol=https;branch=master \
file://0001-meson.build-WORKAROUND-Remove-vulkan-dependency.patch \
file://0001-memmove-and-memchr-are-C-APIs-not-C-std-namespace.patch \
"
# Modify these as desired
PV = "2020.06.15+git${SRCPV}"
SRCREV = "e1642fb691d29b1462504b58916f7f514a963e80"
S = "${WORKDIR}/git"
inherit pkgconfig meson