Signed-off-by: Tobias Droste <[email protected]>
---
configure.ac | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index a006558..0e4af6d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2298,8 +2298,14 @@ fi
if test "x$enable_opencl" = xyes; then
llvm_check_version_for "3" "6" "0" "opencl"
- LLVM_COMPONENTS="${LLVM_COMPONENTS} all-targets ipo linker instrumentation"
- LLVM_COMPONENTS="${LLVM_COMPONENTS} irreader option objcarcopts
profiledata"
+ llvm_add_component "all-targets" "opencl"
+ llvm_add_component "ipos" "opencl"
+ llvm_add_component "linker" "opencl"
+ llvm_add_component "instrumentation" "opencl"
+ llvm_add_component "irreader" "yes" "opencl"
+ llvm_add_component "option" "yes" "opencl"
+ llvm_add_component "objcarcopts" "opencl"
+ llvm_add_component "profiledata" "opencl"
fi
dnl Check for Clang internal headers
--
2.10.0
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev