[Mesa-dev] [PATCH v2] genxml: use PYTHON3

Jason Ekstrand jason at jlekstrand.net
Sat Apr 23 14:33:46 UTC 2016


LGTM

Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
On Apr 23, 2016 12:42 AM, "Jonathan Gray" <jsg at jsg.id.au> wrote:

> Allows the build to work when the python3 binary is not "python3".
>
> v2: remove x bit from the script at Emil's suggestion
>
> Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
> Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
> ---
>  src/intel/genxml/Makefile.am        | 4 +++-
>  src/intel/genxml/gen_pack_header.py | 0
>  2 files changed, 3 insertions(+), 1 deletion(-)
>  mode change 100755 => 100644 src/intel/genxml/gen_pack_header.py
>
> diff --git a/src/intel/genxml/Makefile.am b/src/intel/genxml/Makefile.am
> index 77b2f19..be3ad41 100644
> --- a/src/intel/genxml/Makefile.am
> +++ b/src/intel/genxml/Makefile.am
> @@ -26,7 +26,9 @@ BUILT_SOURCES =                                         \
>         gen8_pack.h                                     \
>         gen9_pack.h
>
> +PYTHON3_GEN = $(AM_V_GEN)$(PYTHON3) $(PYTHON_FLAGS)
> +
>  %_pack.h : %.xml gen_pack_header.py
> -       $(AM_V_GEN) $(srcdir)/gen_pack_header.py $< > $@
> +       $(PYTHON3_GEN) $(srcdir)/gen_pack_header.py $< > $@
>
>  CLEANFILES = $(BUILT_SOURCES)
> diff --git a/src/intel/genxml/gen_pack_header.py
> b/src/intel/genxml/gen_pack_header.py
> old mode 100755
> new mode 100644
> --
> 2.8.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160423/0e22cf26/attachment.html>


More information about the mesa-dev mailing list