-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[onert] Suggestion to modify unnecessary code according to pybind11 update #13115
Comments
Thanks your suggestion. Then we need to use more latest pybind11 version, right? (not currently using v2.11.1) |
I understand that ONE is currently using pybind v2.11.1. ONE/infra/cmake/packages/Pybind11SourceConfig.cmake Lines 10 to 11 in 0d7274f
And the above application requires the use of pybind 2.12.0 releasing version. Pybind11 Version 2.12.0 - bug fixes ListIf it is okay to use the currently released version of pybind11 v2.12.0, I will test it. Reference |
Based on release note, this feature works on cmake 3.18+. |
oh, I didn't check the cmake version |
@jaemaning Thank you for inform us about this. When we ready to upgrade cmake version, we can use this feature. |
Background
Recently, I discovered that a long-standing bug in pybind11 has been fixed. This fix eliminates the need to directly import Python development components (libs, headers) from various Linux environments.
Reference to the current implementation:
ONE/runtime/onert/api/python/CMakeLists.txt
Lines 5 to 26 in 30d45e8
Proposed Change
Given this fix, I suggest updating the code to the following:
Opinion
I would like to know your thoughts on this proposed change.
Reference
For more details on the bug fix, please see: pybind/pybind11#4805
The text was updated successfully, but these errors were encountered: