[oe] [PATCH] libiio: Disable python support for determism

Khem Raj raj.khem at gmail.com
Thu Oct 24 08:10:34 UTC 2019


On Wed, Oct 23, 2019 at 9:14 PM Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
>
> 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 <richard.purdie at linuxfoundation.org>
> ---
>  meta-oe/recipes-support/libiio/libiio_git.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta-oe/recipes-support/libiio/libiio_git.bb b/meta-oe/recipes-support/libiio/libiio_git.bb
> index 4e57d5b77..63248b4e3 100644
> --- a/meta-oe/recipes-support/libiio/libiio_git.bb
> +++ b/meta-oe/recipes-support/libiio/libiio_git.bb
> @@ -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

>      ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DWITH_SYSTEMD=ON -DSYSTEMD_UNIT_INSTALL_DIR=${systemd_system_unitdir}', '', d)} \
>  "
>
> --
> 2.20.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


More information about the Openembedded-devel mailing list