Message ID | 20250918071548.3934769-1-hongxu.jia@windriver.com |
---|---|
State | New |
Headers | show |
Series | [meta-python,1/4] python3-pyzmq: set cmake build dir to support reproducible | expand |
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_27.0.2.bb b/meta-python/recipes-devtools/python/python3-pyzmq_27.0.2.bb index 6607b7c34d..121ca322a0 100644 --- a/meta-python/recipes-devtools/python/python3-pyzmq_27.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-pyzmq_27.0.2.bb @@ -23,6 +23,7 @@ PEP517_BUILD_OPTS = "--skip-dependency-check \ -Ccmake.define.CMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \ -Ccmake.define.CMAKE_FIND_ROOT_PATH="${STAGING_DIR_NATIVE}" \ -Ccmake.build-type="RelWithDebInfo" \ + -Cbuild-dir="${B}" \ " SRC_URI:append = " \
According to [1], set cmake build dir, otherwise a unique temporary directory is used which caused generated library not be reproducible ... "build-dir": { "type": "string", "default": "", "description": "The CMake build directory. Defaults to a unique temporary directory." }, ... Note: To support reproducible, it also requires oe-core commit [2] to be merged [1] https://github.com/scikit-build/scikit-build-core/blob/main/src/scikit_build_core/resources/scikit-build.schema.json#L487C6-L487C16 [2] https://lists.openembedded.org/g/openembedded-core/message/223604?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3ACreated%2C%2C%2C20%2C2%2C0%2C115291386%2Cd%253D3&d=3 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> --- meta-python/recipes-devtools/python/python3-pyzmq_27.0.2.bb | 1 + 1 file changed, 1 insertion(+)