summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-07-08 02:41:13 +0200
committerMarek Olšák <[email protected]>2014-07-18 01:58:58 +0200
commit4ad682461e188eab570a206921b3c2b4bbeb6ece (patch)
treedabcca3208ed7a8865c4f6f7d92a24962c5bb8e7 /configure.ac
parent3a86ca54dfcd8a6cff8eaa1dbdaa76ced1073a56 (diff)
configure.ac: require LLVM 3.4.2 for radeon
Needed by ARB_draw_indirect. Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 48f5f815ef4..bdcc989a7de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1881,8 +1881,9 @@ radeon_llvm_check() {
AC_MSG_ERROR([--enable-gallium-llvm is required when building $1])
fi
LLVM_REQUIRED_VERSION_MAJOR="3"
- LLVM_REQUIRED_VERSION_MINOR="3"
- if test "$LLVM_VERSION_INT" -lt "${LLVM_REQUIRED_VERSION_MAJOR}0${LLVM_REQUIRED_VERSION_MINOR}"; then
+ LLVM_REQUIRED_VERSION_MINOR="4"
+ LLVM_REQUIRED_VERSION_PATCH="2"
+ if test "${LLVM_VERSION_INT}${LLVM_VERSION_PATCH}" -lt "${LLVM_REQUIRED_VERSION_MAJOR}0${LLVM_REQUIRED_VERSION_MINOR}${LLVM_REQUIRED_VERSION_PATCH}"; then
AC_MSG_ERROR([LLVM $LLVM_REQUIRED_VERSION_MAJOR.$LLVM_REQUIRED_VERSION_MINOR or newer is required for $1])
fi
if test true && $LLVM_CONFIG --targets-built | grep -qvw 'R600' ; then