[Mesa-dev] [PATCH] configure: additional libs for OpenCL with LLVM static linking

Jan Ziak 0xe2.0x9a.0x9b at gmail.com
Wed Jul 27 20:55:48 UTC 2016


Mesa compilation fails when "--disable-llvm-shared-libs --enable-opencl" is
passed to the configure script.

Signed-off-by: Jan Ziak (http://atom-symbol.net) <0xe2.0x9a.0x9b at gmail.com>
---
 configure.ac | 1 +
 1 file changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 5c196a9..58c2db4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2194,6 +2194,7 @@ if test "x$enable_gallium_llvm" = xyes; then
 
             LLVM_COMPONENTS="${LLVM_COMPONENTS} all-targets ipo linker instrumentation"
             LLVM_COMPONENTS="${LLVM_COMPONENTS} irreader option objcarcopts profiledata"
+            LLVM_COMPONENTS="${LLVM_COMPONENTS} coverage"
         fi
         DEFINES="${DEFINES} -DHAVE_LLVM=0x0$LLVM_VERSION_INT -DMESA_LLVM_VERSION_PATCH=$LLVM_VERSION_PATCH"
         MESA_LLVM=1


More information about the mesa-dev mailing list