[Mesa-dev] [PATCH] configure.ac: error out when building from git without python3

Ilia Mirkin imirkin at alum.mit.edu
Wed May 4 12:08:06 UTC 2016


Only if building Intel vulkan, no? Could that script just be fixed to work
with python2 BTW?
On May 4, 2016 6:44 AM, "Emil Velikov" <emil.l.velikov at gmail.com> wrote:

> From: Emil Velikov <emil.velikov at collabora.com>
>
> Bail early, as opposed to later on during the build.
>
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
>  configure.ac | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index 5f75c60..0932871 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -142,6 +142,12 @@ else
>      fi
>  fi
>
> +if test -z "$PYTHON3"; then
> +    if test ! -f "$srcdir/src/intel/genxml/gen9_pack.h"; then
> +        AC_MSG_ERROR([Python3 not found - unable to generate sources])
> +    fi
> +fi
> +
>  AC_PROG_INSTALL
>
>  dnl We need a POSIX shell for parts of the build. Assume we have one
> --
> 2.6.2
>
> _______________________________________________
> 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/20160504/554d6a96/attachment.html>


More information about the mesa-dev mailing list