summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.6.2.bb
diff options
context:
space:
mode:
authorjmbills <jasonm.bills@yahoo.com>2021-04-21 21:58:31 +0300
committerGitHub <noreply@github.com>2021-04-21 21:58:31 +0300
commit5de22d24866c4b7cf3579a30cd3fe963f06d7ef9 (patch)
treed7b76b8111aedb06ee17ced2c9cbdebaeaaf6311 /meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.6.2.bb
parentd0a0a5ae2ed84e7b8a45e2838325dd82a3fc1fec (diff)
parentab16ab3d0de4dc9d130ae3db366c38888f1ada5a (diff)
downloadopenbmc-5de22d24866c4b7cf3579a30cd3fe963f06d7ef9.tar.xz
Merge pull request #65 from Intel-BMC/update
Update
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.6.2.bb')
-rw-r--r--meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.6.2.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.6.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.6.2.bb
new file mode 100644
index 000000000..bd16a6d0d
--- /dev/null
+++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.6.2.bb
@@ -0,0 +1,36 @@
+SUMMARY = "Seamless operability between C++11 and Python"
+HOMEPAGE = "https://github.com/wjakob/pybind11"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=774f65abd8a7fe3124be2cdf766cd06f"
+
+DEPENDS = "boost"
+
+SRC_URI = "git://github.com/pybind/pybind11.git \
+ file://0001-Do-not-strip-binaries.patch \
+ file://0001-Do-not-check-pointer-size-when-cross-compiling.patch \
+"
+SRCREV = "8de7772cc72daca8e947b79b83fea46214931604"
+
+S = "${WORKDIR}/git"
+
+BBCLASSEXTEND = "native"
+
+EXTRA_OECMAKE = "-DPYBIND11_TEST=OFF"
+
+inherit cmake setuptools3 python3native
+
+do_configure() {
+ cmake_do_configure
+}
+
+do_compile() {
+ distutils3_do_compile
+ cmake_do_compile
+}
+
+do_install() {
+ distutils3_do_install
+ cmake_do_install
+}
+
+BBCLASSEXTEND = "native nativesdk"