Mesa (10.1): configure: Use LLVM shared libraries by default

Carl Worth cworth at kemper.freedesktop.org
Thu Apr 17 15:12:19 UTC 2014


Module: Mesa
Branch: 10.1
Commit: 933215ac63e43c7960e8e71f42748007ce810df7
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=933215ac63e43c7960e8e71f42748007ce810df7

Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Tue Feb  4 11:54:38 2014 -0500

configure: Use LLVM shared libraries by default

Linking with LLVM static libraries is easily broken by changes to
the llvm-config program or when LLVM adds, removes, or changes library
components.  Keeping up with these changes requires a lot of maintanence
effort to keep the build working on the master and stable branches.

Also, because of issues in the past LLVM static libraries, the release
manager is currently configuring with --with-llvm-shared-libs when
checking the build before release.  Enabling shared libraries by
default would allow the release manager to run ./configure with
no arguments, and be reasonably confident that the build would succeed.

Acked-by: Emil Velikov <emil.l.velikov at gmail.com>
(cherry picked from commit a4c734297f890eb7034793428ee20c28eaad5a69)

---

 configure.ac |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 53efa1d..827b292 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1535,11 +1535,11 @@ AC_ARG_ENABLE([gallium-llvm],
     [enable_gallium_llvm="$enableval"],
     [enable_gallium_llvm=auto])
 
-AC_ARG_WITH([llvm-shared-libs],
-    [AS_HELP_STRING([--with-llvm-shared-libs],
-        [link with LLVM shared libraries @<:@default=disabled@:>@])],
+AC_ARG_ENABLE([llvm-shared-libs],
+    [AS_HELP_STRING([--enable-llvm-shared-libs],
+        [link with LLVM shared libraries @<:@default=enabled@:>@])],
     [],
-    [with_llvm_shared_libs=no])
+    [with_llvm_shared_libs=yes])
 
 AC_ARG_WITH([llvm-prefix],
     [AS_HELP_STRING([--with-llvm-prefix],




More information about the mesa-commit mailing list