[Mesa-dev] [PATCH v3 06/25] configure.ac: Use new helper functions for oCL
Tobias Droste
tdroste at gmx.de
Tue Oct 11 23:02:33 UTC 2016
Signed-off-by: Tobias Droste <tdroste at gmx.de>
---
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
More information about the mesa-dev
mailing list