diff options
| author | Jason M. Bills <jason.m.bills@linux.intel.com> | 2021-04-19 22:02:49 +0300 |
|---|---|---|
| committer | Jason M. Bills <jason.m.bills@linux.intel.com> | 2021-04-19 22:02:49 +0300 |
| commit | 36caa12533da01d4319c5ffe7613711a0ec7dea7 (patch) | |
| tree | 591c2077bb14cfd9d23893d32cca71fa7a01bc9c /meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.6.2.bb | |
| parent | 12bef3e1bf292dec5ac15af9fb41e86f7bcfb0cb (diff) | |
| parent | 3cec7f5a630c1ddcad058eb76e1f732a5fa20d59 (diff) | |
| download | openbmc-36caa12533da01d4319c5ffe7613711a0ec7dea7.tar.xz | |
Merge tag '0.45' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc into 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.bb | 36 |
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" |
