summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-jsonpointer_2.2.bb
diff options
context:
space:
mode:
authorTim Orling <tim.orling@konsulko.com>2022-03-12 12:49:24 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-16 08:48:08 +0000
commit09ba720ec9a24990c61f94371485391c9924aaed (patch)
treebb8dde39832cf91dc224b2976ac5623015612697 /meta/recipes-devtools/python/python3-jsonpointer_2.2.bb
parent096086d0c8e0913176422a527742ab7e88709f35 (diff)
downloadpoky-09ba720ec9a24990c61f94371485391c9924aaed.tar.gz
pyo3.bbclass: move from meta-python
PyO3 provides Rust bindings for Python, including tools for creating native Python extension modules. Running and interacting with Python code from a Rust binary is also supported. This class sets up the cross-compilation environment. Export PYO3_CROSS, PYO3_CROSS_LIB_DIR, PYO3_CROSS_INCLUDE_DIR and CARGO_BUILD_TARGET to inform tools like setuptools-rust we are cross-compiling. Export RUSTFLAGS so cargo can find 'std' and 'core' for target Dynamically generate PyO3 config file and export PYO3_CONFIG_FILE absolute path. This is the trick that finally made pyo3 work. (From OE-Core rev: f3130197ed93fd60b4cad326940b02a5554ed089) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-jsonpointer_2.2.bb')
0 files changed, 0 insertions, 0 deletions