The attached patch should fix, but I don't have a machine with old llvm now.
Jose
----- Original Message -----
> ----- Original Message -----
> > Hi guys
> >
> > LLVM 2.8 doesn't appear to have mcjit, so we end up with no llvm
> > libs
> > defined,
>
> Yes, mcjit is only used/necessary from llvm-3.1 onwards, so the
> autoconf code should check conditiionally.
>
> BTW, I'll soon commit a change that will stop using mcjit from 3.2
> onwards (as with the current LLVM 3.2 trunk, AVX is supported by the
> old jit, which is more stable/polished).
>
> > look at the recent build failures in tinderbox.x.org.
>
> Interesting. Where can I read more about tinderbox.x.org setup? Would
> it be possible to add our own machines to the mix?
>
> I'm maintaining builds on a Jenkins machine internally. I'd like to
> provide Mesa/piglit build results for platforms we care that few
> other developers use (i.e., windows), but the jenkins server is also
> building/testing internal projects, and I don't really have the time
> to maintain a separate public-facing jenkins server. But the load of
> mainting a slave build machine for tinderbox.x.org sounds feasible.
>
> Jose
> _______________________________________________
> mesa-dev mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
diff --git a/configure.ac b/configure.ac
index 1d60957..7b88331 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1847,10 +1847,14 @@ if test "x$enable_gallium_llvm" = xyes; then
dnl We can't use $LLVM_VERSION because it has 'svn' stripped out,
LLVM_LIBS="-lLLVM-`$LLVM_CONFIG --version`"
else
- LLVM_LIBS="`$LLVM_CONFIG --libs engine bitwriter mcjit`"
+ LLVM_COMPONENTS="engine bitwriter"
+ if $LLVM_CONFIG --components | grep -q '\<mcjit\>'; then
+ LLVM_COMPONENTS="${LLVM_COMPONENTS} mcjit"
+ fi
if test "x$enable_opencl" = xyes; then
- LLVM_LIBS="${LLVM_LIBS} `$LLVM_CONFIG --libs ipo linker instrumentation`"
+ LLVM_COMPONENTS="${LLVM_COMPONENTS} ipo linker instrumentation"
fi
+ LLVM_LIBS="`$LLVM_CONFIG --libs ${LLVM_COMPONENTS}`"
fi
LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags`
LLVM_BINDIR=`$LLVM_CONFIG --bindir`
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev