Skip to contentSkip to conversation

package/piglit: set python executable

PATCH New Fabrice Fontaine 3 participants 3 messages Nov 3, 2019 – Nov 4, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/piglit: set python executable

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

---
 package/piglit/piglit.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/piglit/piglit.mk +2 -1
index 4f95e77cfd..d4753b9f7a 100644
@@ -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
Signature · 1 line
2.23.0
#1 lore raw

PATCH 1/1 package/piglit: set python executable

Quoted 11 lines · On Sun, 3 Nov 2019 09:55:20 +0100 Fabrice Fontaine…

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

---
 package/piglit/piglit.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 package/piglit: set python executable

In reply to Fabrice Fontaine

Hi Fabrice,

Le 03/11/2019 ? 09:55, Fabrice Fontaine a ?crit?:

Quoted 8 lines

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

Best regards,
Romain

Quoted 19 lines
---
 package/piglit/piglit.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/piglit/piglit.mk +2 -1
index 4f95e77cfd..d4753b9f7a 100644
@@ -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