mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-10 00:50:37 +00:00
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>
This commit is contained in:
@@ -14,6 +14,10 @@ DEPENDS = "python3-pybind11-native"
|
||||
|
||||
inherit setuptools3 pypi
|
||||
|
||||
SRC_URI += " \
|
||||
file://source-date-epoch.patch \
|
||||
"
|
||||
|
||||
PYPI_PACKAGE = "mlcommons_loadgen"
|
||||
UPSTREAM_CHECK_PYPI_PACKAGE = "mlcommons_loadgen"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user