meta-openembedded/meta-python/recipes-devtools/python3-mlcommons-loadgen/python3-mlcommons-loadgen_5.1.0.bb
Hongxu Jia 4b589e4099
python3-mlcommons-loadgen: support reproducibility
Implement the SOURCE_DATE_EPOCH specification[1] for reproducible
builds. If SOURCE_DATE_EPOCH is set, use it as timestamp instead of the
current time.

[1] https://reproducible-builds.org/specs/source-date-epoch/

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-05 21:43:44 -07:00

28 lines
1.1 KiB
BlitzBasic

SUMMARY = "MLPerf Inference LoadGen python bindings"
DESCRIPTION = "The LoadGen is a reusable module that efficiently and fairly \
measures the performance of inference systems. It generates \
traffic for scenarios as formulated by a diverse set of experts \
in the MLCommons working group, to emulate the workloads seen in \
mobile devices, autonomous vehicles, robotics, and cloud-based \
setups."
HOMEPAGE = "https://mlcommons.org/"
BUGTRACKER = "https://github.com/mlcommons/inference/issues"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://setup.py;beginline=1;endline=14;md5=2c6e34309ef8d57d59ce119f63bc1b76"
DEPENDS = "python3-pybind11-native"
inherit setuptools3 pypi
SRC_URI += " \
file://source-date-epoch.patch \
"
PYPI_PACKAGE = "mlcommons_loadgen"
UPSTREAM_CHECK_PYPI_PACKAGE = "mlcommons_loadgen"
SRC_URI[sha256sum] = "d7829729a8d5503fa02cd758f39c3ae6f96d743420ee841027cf7addc165890d"
# Because the pyproject.toml contains invalid requirements.
INSANE_SKIP += "pep517-backend"