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

Peter Korsgaard peter at korsgaard.com
Mon Jul 13 08:17:08 UTC 2020


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:

 > 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.

True, but you cannot actually do anything with it unless you have C++
support in the toolchain - So I don't think it makes any sense to show
it then.

 > 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.

Ok.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list