summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2016-07-21 18:34:37 -0500
committerTim Rowley <[email protected]>2016-09-27 12:56:47 -0500
commitbacdd9ef4c00d49cda4f704eadbbd871bb467735 (patch)
tree0c6f1f69849fdf3dda7d73ea2c1dfbfbfb8334e1 /configure.ac
parent50842e8a9313400a0d31f5fca2e346b95d12b262 (diff)
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: <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0604ad9ad20..b9e6000a3d5 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"