libiio: Disable python support for determism
PATCH 1/1 libiio: Disable python support for determism
Recent cmake changes in OE-Core mean python is now detected from PATH. For determism, disable the python bindings to match previous behaviour.
Signed-off-by Richard Purdie <[email protected]>
--- meta-oe/recipes-support/libiio/libiio_git.bb | 1 + 1 file changed, 1 insertion(+)
meta-oe/recipes-support/libiio/libiio_git.bb +1 -0
@@ -22,6 +22,7 @@ DEPENDS = " \ EXTRA_OECMAKE = " \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DUDEV_RULES_INSTALL_DIR=${nonarch_base_libdir}/udev/rules.d \ + -DPYTHON_BINDINGS=OFF \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DWITH_SYSTEMD=ON -DSYSTEMD_UNIT_INSTALL_DIR=${systemd_system_unitdir}', '', d)} \ "
Signature · 1 line
2.20.1
Quoted 15 lines · Richard Purdie
Recent cmake changes in OE-Core mean python is now detected from PATH. For determism, disable the python bindings to match previous behaviour.
Signed-off-by Richard Purdie <[email protected]>--- meta-oe/recipes-support/libiio/libiio_git.bb | 1 + 1 file changed, 1 insertion(+)meta-oe/recipes-support/libiio/libiio_git.bb +0
-0
meta-oe/recipes-support/libiio/libiio_git.bb DEPENDS = " \ · line 25
Quoted 4 lines
meta-oe/recipes-support/libiio/libiio_git.bb +1
-0@@ -22,6 +22,7 @@ DEPENDS = " \ EXTRA_OECMAKE = " \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DUDEV_RULES_INSTALL_DIR=${nonarch_base_libdir}/udev/rules.d \ + -DPYTHON_BINDINGS=OFF \
instead of disabling the bindings if we specify location to python library and headers then it works
this is in effect after the cmake change
Quoted 11 lines
meta-oe/recipes-support/libiio/libiio_git.bb +0
-1${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DWITH_SYSTEMD=ON -DSYSTEMD_UNIT_INSTALL_DIR=${systemd_system_unitdir}', '', d)} \ " --2.20.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel