Khem Raj 62012af133
deqp-runner: Use linux_raw for getrandom backend on riscv32
Fixes
| error[E0425]: cannot find function `getrandom` in crate `libc`
|   --> /usr/src/debug/deqp-runner/0.20.3/sources-unpack/cargo_home/bitbake/getrandom-0.3.2/src/backends/getrandom.rs:29:15
|    |
| 29 |         libc::getrandom(buf.as_mut_ptr().cast(), buf.len(), 0)
|    |               ^^^^^^^^^ not found in `libc`
|
|     Building [===============>          ] 77/121: thiserror-impl, indexmap,...
|     Building [===============>          ] 78/121: thiserror-impl, indexmap,...
| For more information about this error, try `rustc --explain E0425`.
| error: could not compile `getrandom` (lib) due to 1 previous error
|

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-06 21:15:00 -07:00

22 lines
826 B
BlitzBasic

SUMMARY = "A VK-GL-CTS/dEQP wrapper program to parallelize it across CPUs and report results against a baseline."
HOMEPAGE = "https://gitlab.freedesktop.org/mesa/deqp-runner"
LICENSE = "MIT"
LIC_FILES_CHKSUM = " \
file://LICENSE;md5=4f59d6446bf2e004e80df1a0937129fa\
"
inherit cargo cargo-update-recipe-crates
SRC_URI += " \
crate://crates.io/deqp-runner/${PV} \
file://0001-deqp-runner-drop-zstd-support.patch \
file://0001-cargo-Update-tempfile-to-latest-3.x.patch \
file://0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch;patchdir=${CARGO_VENDORING_DIRECTORY}/libc-0.2.171 \
"
SRC_URI[deqp-runner-0.20.3.sha256sum] = "2de4b135ed68a7f821deeedebb4084d33058b0307f1f9935e2c960430f7532e8"
require deqp-runner-crates.inc
RUSTFLAGS:append:riscv32 = " --cfg getrandom_backend=\"linux_raw\""