Go to file
Tim Orling 0e59a23901 setuptools3_rust.bbclass: setuptoools Rust plugin
setuptools-rust is a plugin for setuptools to build Rust Python extensions
implemented with PyO3 or rust-cpython.

Compile and distribute Python extensions written in Rust as easily as if
they were written in C.

This class inherits pyo3.bbclass (and therefore cargo.bbclass) and
setuptools3.bbclass to make it easier to build Python modules with Rust
extensions.

Need to call pyo3_do_configure to properly setup the PyO3 environment
for cross-compiling.

Need to call cargo_common_do_configure to setup cargo_home/config so
that the linker properly finds e.g. crti.o and crtbeginS.o

It is strongly recommended to provide crates needed for your recipe
using the crate:// fetcher. This can be helped with the cargo-bitbake
command [1].

If you choose not to use the crate fetcher, bitbake vendoring will not
work with setuptools-rust, as it errors out immediately because it cannot
find pyo3 or some other crate. The (strongly discouraged) workaround for
this is to set:

CARGO_DISABLE_BITBAKE_VENDORING = "1"

[1] https://crates.io/crates/cargo-bitbake

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-01-18 12:53:38 -08:00
contrib contrib: fix python warnings for oe-stylize 2021-12-21 18:49:37 -08:00
meta-filesystems simple-mtpfs: add dependency on autoconf-archive 2021-12-28 19:20:31 -08:00
meta-gnome nautilus: Fix build with libportal >= 0.5 2022-01-12 09:22:34 -08:00
meta-initramfs dracut: upgrade 051 -> 055 2022-01-18 09:01:51 -08:00
meta-multimedia libsrtp: Add support for specifying the crypto library 2022-01-05 08:17:18 -08:00
meta-networking rdma-core: upgrade 36.0 -> 38.0 2022-01-18 09:01:51 -08:00
meta-oe uriparser: upgrade 0.9.5 -> 0.9.6 2022-01-18 09:01:51 -08:00
meta-perl libio-socket-ssl-perl: upgrade 2.072 -> 2.073 2021-12-27 11:46:41 -08:00
meta-python setuptools3_rust.bbclass: setuptoools Rust plugin 2022-01-18 12:53:38 -08:00
meta-webserver apache2: upgrade 2.4.51 -> 2.4.52 2021-12-27 11:46:41 -08:00
meta-xfce thunar: Depend on libxml-parser-perl-native 2022-01-12 11:50:49 -08:00
.gitignore .gitignore: add *.pyc and *.pyo 2019-06-15 16:45:33 -07:00
COPYING.MIT add README and license for this layer 2011-02-13 16:47:32 +01:00
README Update maintainers 2018-08-27 10:53:58 -07:00

Collection of layers for the OE-core universe

Main layer maintainer: Khem Raj raj.khem@gmail.com

This repository is a collection of layers to suppliment OE-Core with additional packages, Each layer have designated maintainer Please see the respective READMEs in the layer subdirectories