aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/pyo3/pyo3.inc
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@intel.com>2021-11-01 22:07:50 +0000
committerTim Orling <timothy.t.orling@intel.com>2021-11-01 23:05:26 +0000
commit2a25947740669d03c2fe40b7d6fde0415032bb9d (patch)
treec13c92fbf5531137821ca9c844dbbcb207cf48cb /meta-python/recipes-devtools/pyo3/pyo3.inc
parent2ff0041029d22c316e45085bd131ae9c726a6030 (diff)
downloadmeta-openembedded-contrib-timo/python3-cryptography_35.0.0.tar.gz
meta-openembedded-contrib-timo/python3-cryptography_35.0.0.tar.bz2
meta-openembedded-contrib-timo/python3-cryptography_35.0.0.zip
[WIP] pyo3: add recipe for 0.14.5timo/python3-cryptography_35.0.0
Use cargo-bitbake to create recipe and then attempt to patch to get it to find _sysconfigdata_*.py Currently fails in: https://github.com/PyO3/pyo3/blob/v0.14.5/pyo3-build-config/src/impl_.rs#L855 Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Diffstat (limited to 'meta-python/recipes-devtools/pyo3/pyo3.inc')
-rw-r--r--meta-python/recipes-devtools/pyo3/pyo3.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/pyo3/pyo3.inc b/meta-python/recipes-devtools/pyo3/pyo3.inc
new file mode 100644
index 0000000000..56879b4a87
--- /dev/null
+++ b/meta-python/recipes-devtools/pyo3/pyo3.inc
@@ -0,0 +1,7 @@
+
+export PYO3_CROSS="1"
+export PYO3_CROSS_PYTHON_VERSION="${PYTHON_BASEVERSION}"
+export PYO3_CROSS_LIB_DIR="${STAGING_LIBDIR}"
+export CARGO_BUILD_TARGET="${HOST_SYS}"
+export RUSTFLAGS
+export PYO3_PYTHON="${PYTHON}"