[Mesa-dev] [PATCH 2/2] configure.ac: refuse to build r300g without LLVM

Jose Fonseca jfonseca at vmware.com
Thu Apr 21 12:02:43 PDT 2011


Sounds good, but distros shipping LLVM 2.6 or 2.8 should really apply the LLVM fixes I have collected in http://cgit.freedesktop.org/~jrfonseca/llvm/ to avoid running into problems.

One mergely using SWTNL might not get hit as hard by these bugs, but if one uses full rasterization on llvmpipe then it definitely will.

Jose

----- Original Message -----
> ---
>  configure.ac |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 8e9f73f..84a75c4 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1778,6 +1778,11 @@ AC_ARG_ENABLE([gallium-r300],
>          [build gallium r300 @<:@default=disabled@:>@])],
>      [enable_gallium_r300="$enableval"],
>      [enable_gallium_r300=auto])
> +if test "x$enable_gallium_r300" != xno; then
> +    if test "x$MESA_LLVM" = x0; then
> +        AC_MSG_ERROR([LLVM is required to build r300g])
> +    fi
> +fi
>  if test "x$enable_gallium_r300" = xauto; then
>      GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS r300"
>      gallium_check_st "radeon/drm" "dri-r300"
> --
> 1.7.4.1
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 


More information about the mesa-dev mailing list