[Mesa-dev] [PATCH mesa-9.1] configure.ac: Require llvm-3.2 for r600g/radeonsi llvm backends

Andreas Boll andreas.boll.dev at gmail.com
Fri Jul 19 02:17:09 PDT 2013


v2: Update the error message too.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66847

Cc: mesa-stable at lists.freedesktop.org
Tested-by: Marc Dietrich <marvin24 at gmx.de>
Signed-off-by: Andreas Boll <andreas.boll.dev at gmail.com>
---
 configure.ac |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index d0f78a0..452b24f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1780,8 +1780,8 @@ gallium_require_drm_loader() {
 radeon_llvm_check() {
     LLVM_REQUIRED_VERSION_MAJOR="3"
     LLVM_REQUIRED_VERSION_MINOR="2"
-    if test "$LLVM_VERSION_INT" -lt "${LLVM_REQUIRED_VERSION_MAJOR}0${LLVM_REQUIRED_VERSION_MINOR}"; then
-        AC_MSG_ERROR([LLVM $LLVM_REQUIRED_VERSION_MAJOR.$LLVM_REQUIRED_VERSION_MINOR or newer with R600 target enabled is required.
+    if test "$LLVM_VERSION_INT" -ne "${LLVM_REQUIRED_VERSION_MAJOR}0${LLVM_REQUIRED_VERSION_MINOR}"; then
+        AC_MSG_ERROR([LLVM $LLVM_REQUIRED_VERSION_MAJOR.$LLVM_REQUIRED_VERSION_MINOR with R600 target enabled is required.
                      To use the r600/radeonsi LLVM backend, you need to fetch the LLVM source from:
                      git://people.freedesktop.org/~tstellar/llvm master
                      and build with --enable-experimental-targets=R600])
-- 
1.7.10.4



More information about the mesa-dev mailing list