[Mesa-dev] [PATCH] clover: Fix linkage of libOpenCL

Tom Stellard tom at stellard.net
Fri Aug 16 17:04:29 PDT 2013


On Wed, Aug 07, 2013 at 05:48:48PM +0200, Niels Ole Salscheider wrote:
> Clover needs the option component of llvm.
> 

Pushed, thanks!

-Tom

> Signed-off-by: Niels Ole Salscheider <niels_ole at salscheider-online.de>
> ---
>  configure.ac | 4 ++++
>  1 Datei geändert, 4 Zeilen hinzugefügt(+)
> 
> diff --git a/configure.ac b/configure.ac
> index 62d06e0..0dcd2a5 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1617,6 +1617,10 @@ if test "x$enable_gallium_llvm" = xyes; then
>              if $LLVM_CONFIG --components | grep -qw 'irreader'; then
>                  LLVM_COMPONENTS="${LLVM_COMPONENTS} irreader"
>              fi
> +            # LLVM 3.4 requires Option
> +            if $LLVM_CONFIG --components | grep -qw 'option'; then
> +                LLVM_COMPONENTS="${LLVM_COMPONENTS} option"
> +            fi
>          fi
>          DEFINES="${DEFINES} -DHAVE_LLVM=0x0$LLVM_VERSION_INT"
>          MESA_LLVM=1
> -- 
> 1.7.11.7
> 
> _______________________________________________
> 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