On Thu, Apr 04, 2013 at 11:26:45PM +0200, Niels Ole Salscheider wrote:
> Clover needs the irreader component of llvm
>
> v2: Check for irreader component
> irreader is only available with LLVM 3.3 >= 177971
>
> Signed-off-by: Niels Ole Salscheider <[email protected]>
I've pushed this, thanks.
btw, I also pushed your libclc build fixes to my libclc repo.
-Tom
> ---
> configure.ac | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index 81d4a3f..fea5868 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1650,6 +1650,10 @@ if test "x$enable_gallium_llvm" = xyes; then
>
> if test "x$enable_opencl" = xyes; then
> LLVM_COMPONENTS="${LLVM_COMPONENTS} ipo linker instrumentation"
> + # LLVM 3.3 >= 177971 requires IRReader
> + if $LLVM_CONFIG --components | grep -q '\<irreader\>'; then
> + LLVM_COMPONENTS="${LLVM_COMPONENTS} irreader"
> + fi
> fi
> LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags`
> LLVM_BINDIR=`$LLVM_CONFIG --bindir`
> --
> 1.8.2
>
> _______________________________________________
> mesa-dev mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev