[Mesa-dev] [PATCH v3 21/25] configure.ac: Use new helper function for r600 oCL

Tobias Droste tdroste at gmx.de
Tue Oct 11 23:02:48 UTC 2016


Use the new helper function to add the r600 components needed for openCL.

Signed-off-by: Tobias Droste <tdroste at gmx.de>
---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 23160f2..449e38d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2499,7 +2499,8 @@ if test -n "$with_gallium_drivers"; then
             if test "x$enable_opencl" = xyes; then
                 radeon_llvm_check "3" "6" "0" "r600"
                 gallium_require_llvm "r600"
-                LLVM_COMPONENTS="${LLVM_COMPONENTS} bitreader asmparser"
+                llvm_add_component "bitreader" "r600"
+                llvm_add_component "asmparser" "r600"
             fi
             ;;
         xradeonsi)
-- 
2.10.0



More information about the mesa-dev mailing list