mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-06 04:49:29 +00:00
python3-pybind11: Use cmake to build and add -native version
* Switch to git repo to pick up cmake files for recipes to use * Use cmake to build innstead of pypi so cmake files are included in sysroot * Disable tests to prevent configure failure (I tried adding pytest asa DEPEND) * Patch out cmake that strips output to prevent QA failures * Do not check pointer length for installed python when cross compiling. * With this I can build gnuradio using pybind11. Signed-off-by: Philip Balister <philip@balister.org> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Khem Raj
parent
66793d3542
commit
7ebbd78518
@@ -3,7 +3,18 @@ HOMEPAGE = "https://github.com/wjakob/pybind11"
|
||||
LICENSE = "BSD-2-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=beb87117af69fd10fbf9fb14c22a2e62"
|
||||
|
||||
SRC_URI[md5sum] = "5355e1fd05c8eedef19cc9bfd3d82a77"
|
||||
SRC_URI[sha256sum] = "ea5a4e7a880112915463826f1acbec5892df36dfe102ecb249229ac514fb54ad"
|
||||
DEPENDS = "boost"
|
||||
|
||||
inherit pypi setuptools3
|
||||
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 = "3b1dbebabc801c9cf6f0953a4c20b904d444f879"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
EXTRA_OECMAKE = "-DPYBIND11_TEST=OFF"
|
||||
|
||||
inherit cmake python3native
|
||||
|
||||
Reference in New Issue
Block a user