aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/deps/pybind11/README.md
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-06-22 12:01:43 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2021-06-23 07:14:12 -0500
commit0c5c2e39f9227825a4cd83a0df4efff25275e556 (patch)
tree00cf23305887dda1594f9b676e603e6275f08327 /host/lib/deps/pybind11/README.md
parenta9395823ed450aefa1c2d0c894dbcf976264365e (diff)
downloaduhd-0c5c2e39f9227825a4cd83a0df4efff25275e556.tar.gz
uhd-0c5c2e39f9227825a4cd83a0df4efff25275e556.tar.bz2
uhd-0c5c2e39f9227825a4cd83a0df4efff25275e556.zip
lib: deps: Upgrade vendor version of Pybind11 to 2.6.1
- Copied include/pybind11 directory over from source repo - Also re-ran remove_comments.py as before This fixes this warning on newer Python libraries: .../internals.h: 200:9: warning: 'PyEval_InitThreads' is deprecated [-Wdeprecated-declarations] PyEval_InitThreads(); ^ /usr/include/python3.9/ceval.h:130:1: note: 'PyEval_InitThreads' has been explicitly marked deprecated here Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); ^ /usr/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) It also obviates the need for patches to Pybind11 to silence clang warnings.
Diffstat (limited to 'host/lib/deps/pybind11/README.md')
-rw-r--r--host/lib/deps/pybind11/README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/host/lib/deps/pybind11/README.md b/host/lib/deps/pybind11/README.md
index 16cc54ebb..6622895b2 100644
--- a/host/lib/deps/pybind11/README.md
+++ b/host/lib/deps/pybind11/README.md
@@ -1,6 +1,6 @@
# PyBind11: Third-Party Dependency for UHD
-Version: 25abf7ef (post-2.2.4)
+Version: 2.6.1 (git hash: f1abf5d)
PyBind11 is a replacement for Boost.Python. Unlike Boost.Python, however, we
ship it with the UHD repository instead of relying on it to be there external to
@@ -9,6 +9,9 @@ most distributions at this time. It also allows us to lock down the version of
PyBind11 used; with Boost, we often have to apply hacks to make sure UHD works
across all of the Boost versions that we support.
+Note that the UHD CMake allows for using a different version of PyBind11 (e.g.,
+the one installed via package manager).
+
## License for PyBind11
As a seperate, third-party project, PyBind11 has a different license from UHD.