Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/piglit: set python executable
@ 2019-11-03  8:55 Fabrice Fontaine
  2019-11-04 21:35 ` Thomas Petazzoni
  2019-11-04 21:40 ` Romain Naour
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2019-11-03  8:55 UTC (permalink / raw)
  To: buildroot

Without this change, piglit will detect and use python from host
resulting in build failures if python-mako, python-numpy or python-six
are not installed

Fixes:
 - http://autobuild.buildroot.org/results/8d782589b6073031626fd769982a0844f3731906

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/piglit/piglit.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/piglit/piglit.mk b/package/piglit/piglit.mk
index 4f95e77cfd..d4753b9f7a 100644
--- a/package/piglit/piglit.mk
+++ b/package/piglit/piglit.mk
@@ -29,7 +29,8 @@ PIGLIT_DEPENDENCIES = host-pkgconf \
 PIGLIT_CONF_OPTS += \
 	-DPIGLIT_USE_WAFFLE=ON \
 	-DPIGLIT_BUILD_CL_TESTS=OFF \
-	-DPIGLIT_BUILD_WGL_TESTS=OFF
+	-DPIGLIT_BUILD_WGL_TESTS=OFF \
+	-DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3
 
 ifeq ($(BR2_PACKAGE_XORG7),y)
 # libxcb for xcb-dri2
-- 
2.23.0

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

* [Buildroot] [PATCH 1/1] package/piglit: set python executable
  2019-11-03  8:55 [Buildroot] [PATCH 1/1] package/piglit: set python executable Fabrice Fontaine
@ 2019-11-04 21:35 ` Thomas Petazzoni
  2019-11-04 21:40 ` Romain Naour
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-11-04 21:35 UTC (permalink / raw)
  To: buildroot

On Sun,  3 Nov 2019 09:55:20 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Without this change, piglit will detect and use python from host
> resulting in build failures if python-mako, python-numpy or python-six
> are not installed
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/8d782589b6073031626fd769982a0844f3731906
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/piglit/piglit.mk | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH 1/1] package/piglit: set python executable
  2019-11-03  8:55 [Buildroot] [PATCH 1/1] package/piglit: set python executable Fabrice Fontaine
  2019-11-04 21:35 ` Thomas Petazzoni
@ 2019-11-04 21:40 ` Romain Naour
  1 sibling, 0 replies; 3+ messages in thread
From: Romain Naour @ 2019-11-04 21:40 UTC (permalink / raw)
  To: buildroot

Hi Fabrice,

Le 03/11/2019 ? 09:55, Fabrice Fontaine a ?crit?:
> Without this change, piglit will detect and use python from host
> resulting in build failures if python-mako, python-numpy or python-six
> are not installed
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/8d782589b6073031626fd769982a0844f3731906
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Reviewed-by: Romain Naour <romain.naour@smile.fr>

Best regards,
Romain


> ---
>  package/piglit/piglit.mk | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/package/piglit/piglit.mk b/package/piglit/piglit.mk
> index 4f95e77cfd..d4753b9f7a 100644
> --- a/package/piglit/piglit.mk
> +++ b/package/piglit/piglit.mk
> @@ -29,7 +29,8 @@ PIGLIT_DEPENDENCIES = host-pkgconf \
>  PIGLIT_CONF_OPTS += \
>  	-DPIGLIT_USE_WAFFLE=ON \
>  	-DPIGLIT_BUILD_CL_TESTS=OFF \
> -	-DPIGLIT_BUILD_WGL_TESTS=OFF
> +	-DPIGLIT_BUILD_WGL_TESTS=OFF \
> +	-DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3
>  
>  ifeq ($(BR2_PACKAGE_XORG7),y)
>  # libxcb for xcb-dri2
> 

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

end of thread, other threads:[~2019-11-04 21:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-03  8:55 [Buildroot] [PATCH 1/1] package/piglit: set python executable Fabrice Fontaine
2019-11-04 21:35 ` Thomas Petazzoni
2019-11-04 21:40 ` Romain Naour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox