[Mesa-stable] [PATCH 01/23] configure: error out when building opencl without LLVM
Emil Velikov
emil.l.velikov at gmail.com
Sun May 18 00:07:23 PDT 2014
Cc: Tom Stellard <thomas.stellard at amd.com>
Cc: "10.1 10.2" <mesa-stable at lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
configure.ac | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configure.ac b/configure.ac
index 4e4d761..ed80cd9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1386,6 +1386,10 @@ if test "x$enable_opencl" = xyes; then
AC_MSG_ERROR([cannot enable OpenCL without Gallium])
fi
+ if test "x$enable_gallium_llvm" != xyes; then
+ AC_MSG_ERROR([cannot enable OpenCL without LLVM])
+ fi
+
if test $GCC_VERSION_MAJOR -lt 4 -o $GCC_VERSION_MAJOR -eq 4 -a $GCC_VERSION_MINOR -lt 7; then
AC_MSG_ERROR([gcc >= 4.7 is required to build clover])
fi
--
1.9.2
More information about the mesa-stable
mailing list