diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2014-05-15 22:54:48 +0100 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2014-06-23 11:21:08 -0700 |
commit | e4c65664ea36bf2f96d5cca262f216f43cb11b45 (patch) | |
tree | 06505a207bb2a109722ee0f7c5605edff7e6bee9 | |
parent | f6bf295924cdbd567db1554622a429950d48e452 (diff) |
configure: error out when building opencl without LLVM
Cc: Tom Stellard <thomas.stellard@amd.com>
Cc: "10.1 10.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
(cherry picked from commit 93257a56b5b585e79e4ba9f95b38f5bd718e3959)
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f37038db3c7..caaa09d1c92 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 |