<div dir="ltr">Hello,<div><br></div><div>If I understand correctly, this patch only covers the first use case (C++/Python). I only added this one because my following patch requires host-python-pybind, but I agree it certainly lacks a <span style="color:rgb(0,139,139);font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:13px">depends on !BR2_INSTALL_LIBSTDCPP. </span>I'll wait for people's point of view before going any further anyway. If you agree on this, I will add the dependency and push a <i>v2</i></div><div><br></div><div>The other use case that people might need in the future, is not allowed at the moment until we unlock it with <span style="color:rgb(0,139,139);font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:13px">$(eval $(cmake-package))</span> but requires further work (I am also not familiar with cmake at the moment). Maybe you could proceed with adding the cmake support because you are knowledgeable and already got it working? </div><div><br></div><div>One last question though: "For example, this project won't find pybind11 because it uses find_package(pybind11...)", so we should rename the package to <i>python-pybind11</i>? so we don't have any other problems when unlocking the cmake option. If you agree on that point, my v2 will be renamed to <i>python-pybind11</i> & and I will also adapt my following work to this new name</div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div><div><font face="arial,helvetica,sans-serif">Guillaume W. Bres<br></font></div><font face="arial,helvetica,sans-serif">Software engineer</font><br></div><font face="arial,helvetica,sans-serif"></font></div><font face="arial,helvetica,sans-serif"><<a href="mailto:guillaume.bressaix@gmail.com" target="_blank">guillaume.bressaix@gmail.com</a>><br></font></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 11 juin 2020 à 20:14, Asaf Kahlon <<a href="mailto:asafka7@gmail.com">asafka7@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I'm not sure pybind11 is just a "regular" python package.<br>
First, it needs C++11 so we have to make sure the toolchain supports<br>
that in order to be able to actually compile the generated pybind11<br>
code.<br>
Secondly, the installation through setup.py just installs the pybind11<br>
headers and it doesn't give any way for C++ projects to locate the<br>
package. For example, this project won't find pybind11 because it uses<br>
find_package(pybind11...) in it's CMakeLists.txt:<br>
<a href="https://github.com/pybind/pybind11_json" rel="noreferrer" target="_blank">https://github.com/pybind/pybind11_json</a>. The installation of pybind11<br>
using CMake gives a solution to this problem.<br>
<br>
Those considerations have been taken into account in a previous patch<br>
I sent to the mailing list few weeks ago:<br>
<a href="https://patchwork.ozlabs.org/project/buildroot/patch/20200513183903.8656-1-asafka7@gmail.com/" rel="noreferrer" target="_blank">https://patchwork.ozlabs.org/project/buildroot/patch/20200513183903.8656-1-asafka7@gmail.com/</a><br>
<br>
Regards,<br>
Asaf.<br>
</blockquote></div>