[Mesa-dev] [PATCH] configure.ac: add llvm inteljitevents component if enabled
Rowley, Timothy O
timothy.o.rowley at intel.com
Thu Aug 25 18:54:42 UTC 2016
Review ping.
Missed this in my original jitevents patch because I had built llvm as one lib.
> On Aug 2, 2016, at 12:54 PM, Rowley, Timothy O <timothy.o.rowley at intel.com> wrote:
>
> Needed to successfully link llvmpipe or swr when using shared llvm libs.
> ---
> configure.ac | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index fb4a12a..edbc95b 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -2497,6 +2497,11 @@ dnl in LLVM_LIBS.
>
> if test "x$MESA_LLVM" != x0; then
>
> + if test "x$HAVE_GALLIUM_LLVMPIPE" = xyes || "x$HAVE_GALLIUM_SWR" = xyes && \
> + $LLVM_CONFIG --components | grep -q inteljitevents ; then
> + LLVM_COMPONENTS="${LLVM_COMPONENTS} inteljitevents"
> + fi
> +
> if ! $LLVM_CONFIG --libs ${LLVM_COMPONENTS} >/dev/null; then
> AC_MSG_ERROR([Calling ${LLVM_CONFIG} failed])
> fi
> --
> 2.7.4
>
More information about the mesa-dev
mailing list