Reviewed-by: Tobias Droste <tdro...@gmx.de>
Am Dienstag, 7. Februar 2017, 22:44:44 CET schrieb Emil Velikov: > From: Emil Velikov <emil.veli...@collabora.com> > > With next commits we'll require --enable-gallium-llvm (en route to a > greater good later on) for RADV. The latter is required to ensure that > as otherwise we'll fail to build. > > Cc: Dave Airlie <airl...@redhat.com> > CC: Tobias Droste <tdro...@gmx.de> > Cc: "17.0" <mesa-sta...@lists.freedesktop.org> > Signed-off-by: Emil Velikov <emil.veli...@collabora.com> > --- > configure.ac | 36 ++++++++++++++++++------------------ > 1 file changed, 18 insertions(+), 18 deletions(-) > > diff --git a/configure.ac b/configure.ac > index d9170770eb..0418421d5a 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -1718,6 +1718,24 @@ if test -n "$with_dri_drivers"; then > fi > > > +dnl > +dnl Gallium LLVM > +dnl > +AC_ARG_ENABLE([gallium-llvm], > + [AS_HELP_STRING([--enable-gallium-llvm], > + [build gallium LLVM support @<:@default=enabled on > x86/x86_64@:>@])], + [enable_gallium_llvm="$enableval"], > + [enable_gallium_llvm=auto]) > + > +if test -z "$with_gallium_drivers"; then > + enable_gallium_llvm=no > +fi > +if test "x$enable_gallium_llvm" = xauto; then > + case "$host_cpu" in > + i*86|x86_64|amd64) enable_gallium_llvm=yes;; > + esac > +fi > + > # > # Vulkan driver configuration > # > @@ -2124,24 +2142,6 @@ if ! echo "$egl_platforms" | grep -q 'x11'; then > GL_PC_CFLAGS="$GL_PC_CFLAGS -DMESA_EGL_NO_X11_HEADERS" > fi > > -dnl > -dnl Gallium LLVM > -dnl > -AC_ARG_ENABLE([gallium-llvm], > - [AS_HELP_STRING([--enable-gallium-llvm], > - [build gallium LLVM support @<:@default=enabled on > x86/x86_64@:>@])], - [enable_gallium_llvm="$enableval"], > - [enable_gallium_llvm=auto]) > - > -if test -z "$with_gallium_drivers"; then > - enable_gallium_llvm=no > -fi > -if test "x$enable_gallium_llvm" = xauto; then > - case "$host_cpu" in > - i*86|x86_64|amd64) enable_gallium_llvm=yes;; > - esac > -fi > - > dnl Directory for XVMC libs > AC_ARG_WITH([xvmc-libdir], > [AS_HELP_STRING([--with-xvmc-libdir=DIR], _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev