Commit 065b6ca5 authored by Emil Velikov's avatar Emil Velikov

configure: update enable-llvm-shared-libs comments

 - As of commit cb080a10( Don't require shared LLVM when
building OpenCL) opencl does not mandate using shared llvm.
 - Add a warning message that building with static llvm may cause
compilation problems.
Signed-off-by: default avatarEmil Velikov <>
Reviewed-by: default avatarJon TURNEY <>
Reviewed-by: default avatarTom Stellard <>
parent e267e431
......@@ -589,10 +589,8 @@ AC_ARG_ENABLE([omx],
[enable OpenCL library NOTE: Enabling this option will also enable
[enable OpenCL library @<:@default=no@:>@])],
......@@ -1514,8 +1512,8 @@ AC_ARG_ENABLE([gallium-llvm],
[link with LLVM shared libraries @<:@default=enabled@:>@])],
......@@ -1857,7 +1855,7 @@ if test "x$MESA_LLVM" != x0; then
if test "x$with_llvm_shared_libs" = xyes; then
if test "x$enable_llvm_shared_libs" = xyes; then
dnl We can't use $LLVM_VERSION because it has 'svn' stripped out,
AS_IF([test -f "$LLVM_LIBDIR/lib$"], [llvm_have_one_so=yes])
......@@ -1874,18 +1872,17 @@ if test "x$MESA_LLVM" != x0; then
and that your llvm libraries are installed in $LLVM_LIBDIR
If you have installed your llvm libraries to a different directory you
can use the --with-llvm-prefix= configure flag to specify this directory.
NOTE: Mesa is attempting to use llvm shared libraries because you have
passed one of the following options to configure:
NOTE: Mesa is attempting to use llvm shared libraries by default.
If you do not want to build with llvm shared libraries and instead want to
use llvm static libraries then remove these options from your configure
invocation and reconfigure.])])
use llvm static libraries then add --disable-llvm-shared-libs to your configure
invocation and rebuild.])])
dnl We don't need to update LLVM_LIBS in this case because the LLVM
dnl install uses a shared object for each compoenent and we have
dnl already added all of these objects to LLVM_LIBS.
AC_MSG_WARN([Building mesa with staticly linked LLVM may cause compilation issues])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment