[Buildroot] [git commit] package/python-pybind: new package

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Jul 12 21:40:50 UTC 2020


On Sun, 12 Jul 2020 23:21:45 +0200
Peter Korsgaard <peter at korsgaard.com> wrote:

>  > diff --git a/package/python-pybind/Config.in b/package/python-pybind/Config.in
>  > new file mode 100644
>  > index 0000000000..604cb9ee67
>  > --- /dev/null
>  > +++ b/package/python-pybind/Config.in
>  > @@ -0,0 +1,8 @@
>  > +config BR2_PACKAGE_PYTHON_PYBIND
>  > +	bool "python-pybind"
>  > +	help
>  > +	  PyBind is a lightweight header-only library that exposes C++
>  > +	  types in Python and vice versa, mainly to create Python
>  > +	  bindings of existing C++ code.  
> 
> If this is C++ code then it should presumably depend on
> BR2_INSTALL_LIBSTDCPP?

It's a header-only library, so by itself, it doesn't need C++ to build,
at least that was my understanding. But I think we got some other
comments that say additional work is needed for this package to be
fully useful. I haven't had the chance to look into them in detail
though.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list