python3-pyzmq: set cmake build dir to support reproducible

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>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Hongxu Jia 2025-09-18 15:15:45 +08:00 committed by Khem Raj
parent 948d188832
commit 914561cfc2
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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 = " \