Mesa (master): configure.ac: add llvm inteljitevents component if enabled
Tim Rowley
torowley at kemper.freedesktop.org
Tue Sep 27 18:19:40 UTC 2016
Module: Mesa
Branch: master
Commit: bacdd9ef4c00d49cda4f704eadbbd871bb467735
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bacdd9ef4c00d49cda4f704eadbbd871bb467735
Author: Tim Rowley <timothy.o.rowley at intel.com>
Date: Thu Jul 21 18:34:37 2016 -0500
configure.ac: add llvm inteljitevents component if enabled
Needed to successfully link llvmpipe or swr when using shared llvm libs
built with inteljitevents enabled.
v2: Make adding inteljitevents component global rather than just
llvmpipe/swr, since libgallium will have a symbol dependency.
Cc: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
---
configure.ac | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configure.ac b/configure.ac
index 0604ad9..b9e6000 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2196,6 +2196,10 @@ if test "x$enable_gallium_llvm" = xyes; then
LLVM_COMPONENTS="engine bitwriter mcjit mcdisassembler"
+ if $LLVM_CONFIG --components | grep -q inteljitevents ; then
+ LLVM_COMPONENTS="${LLVM_COMPONENTS} inteljitevents"
+ fi
+
if test "x$enable_opencl" = xyes; then
llvm_check_version_for "3" "6" "0" "opencl"
More information about the mesa-commit
mailing list