Mesa (master): configure.ac: Don't bother checking whether LLVM' s MCJIT component is available.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Fri May 29 11:17:35 UTC 2015


Module: Mesa
Branch: master
Commit: 9119cd7d2c959e437c40c86f214d08dc198bfa69
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9119cd7d2c959e437c40c86f214d08dc198bfa69

Author: Jose Fonseca <jfonseca at vmware.com>
Date:   Fri May 29 11:58:58 2015 +0100

configure.ac: Don't bother checking whether LLVM's MCJIT component is available.

Now that we require LLVM 3.3, MCJIT is guaranteed to be available.

Trvial.

---

 configure.ac |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 84b404e..e49473b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1921,10 +1921,7 @@ if test "x$enable_gallium_llvm" = xyes; then
             AC_MSG_ERROR([LLVM $LLVM_REQUIRED_VERSION_MAJOR.$LLVM_REQUIRED_VERSION_MINOR or newer is required])
         fi
 
-        LLVM_COMPONENTS="engine bitwriter"
-        if $LLVM_CONFIG --components | grep -qw 'mcjit'; then
-            LLVM_COMPONENTS="${LLVM_COMPONENTS} mcjit"
-        fi
+        LLVM_COMPONENTS="engine bitwriter mcjit"
 
         if test "x$enable_opencl" = xyes; then
             llvm_check_version_for "3" "5" "0" "opencl"




More information about the mesa-commit mailing list