All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libiio: Disable python support for determism
@ 2019-10-23 20:14 Richard Purdie
  2019-10-24  8:10 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Purdie @ 2019-10-23 20:14 UTC (permalink / raw)
  To: openembedded-devel

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@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 \
     ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DWITH_SYSTEMD=ON -DSYSTEMD_UNIT_INSTALL_DIR=${systemd_system_unitdir}', '', d)} \
 "
 
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] libiio: Disable python support for determism
  2019-10-23 20:14 [PATCH] libiio: Disable python support for determism Richard Purdie
@ 2019-10-24  8:10 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2019-10-24  8:10 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembeded-devel

On Wed, Oct 23, 2019 at 9:14 PM Richard Purdie
<richard.purdie@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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-24  8:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-23 20:14 [PATCH] libiio: Disable python support for determism Richard Purdie
2019-10-24  8:10 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.