From: Emil Velikov Date: Thu, 15 May 2014 21:54:48 +0000 (+0100) Subject: configure: error out when building opencl without LLVM X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93257a56b5b585e79e4ba9f95b38f5bd718e3959;p=mesa.git configure: error out when building opencl without LLVM Cc: Tom Stellard Cc: "10.1 10.2" Signed-off-by: Emil Velikov Reviewed-by: Tom Stellard --- diff --git a/configure.ac b/configure.ac index a12f27ac213..7b0009d63e7 100644 --- a/configure.ac +++ b/configure.ac @@ -1475,6 +1475,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