[Mesa-stable] [PATCH 3/4] configure.ac: Don't require shared LLVM when building OpenCL

Tom Stellard tom at stellard.net
Mon Nov 11 14:28:35 PST 2013


From: Tom Stellard <thomas.stellard at amd.com>

This works now that pipe_*.so is no longer exporting LLVM symbols.

Tested-by: Kai Wasserbäch <kai at dev.carbon-project.or>
---
 configure.ac | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/configure.ac b/configure.ac
index f756b73..e4a7284 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1524,12 +1524,6 @@ AC_ARG_WITH([llvm-shared-libs],
         [link with LLVM shared libraries @<:@default=disabled@:>@])],
     [],
     [with_llvm_shared_libs=no])
-AS_IF([test x$enable_opencl = xyes],
-    [
-        if test "x$with_llvm_shared_libs" != xyes; then
-            AC_MSG_ERROR([OpenCL requires LLVM shared libraries])
-        fi
-    ])
 
 AC_ARG_WITH([llvm-prefix],
     [AS_HELP_STRING([--with-llvm-prefix],
-- 
1.8.1.5



More information about the mesa-stable mailing list