Mesa (10.1): configure: error out when building opencl without LLVM
Carl Worth
cworth at kemper.freedesktop.org
Mon Jun 23 23:30:00 UTC 2014
Module: Mesa
Branch: 10.1
Commit: e4c65664ea36bf2f96d5cca262f216f43cb11b45
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e4c65664ea36bf2f96d5cca262f216f43cb11b45
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Thu May 15 22:54:48 2014 +0100
configure: error out when building opencl without LLVM
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>
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
(cherry picked from commit 93257a56b5b585e79e4ba9f95b38f5bd718e3959)
---
configure.ac | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configure.ac b/configure.ac
index f37038d..caaa09d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1376,6 +1376,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
More information about the mesa-commit
mailing list