mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 18:00:10 +01:00
clover: Link to the necessary LLVM and Clang libs
This commit is contained in:
parent
d416780f39
commit
7a6b5d42d8
2 changed files with 20 additions and 1 deletions
|
|
@ -1854,6 +1854,9 @@ if test "x$enable_gallium_llvm" = xyes; then
|
|||
LLVM_LIBS="-lLLVM-`$LLVM_CONFIG --version`"
|
||||
else
|
||||
LLVM_LIBS="`$LLVM_CONFIG --libs engine bitwriter`"
|
||||
if test "x$enable_opencl" = xyes; then
|
||||
LLVM_LIBS="${LLVM_LIBS} `llvm-config --libs ipo linker instrumentation`"
|
||||
fi
|
||||
fi
|
||||
LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags`
|
||||
LLVM_BINDIR=`$LLVM_CONFIG --bindir`
|
||||
|
|
|
|||
|
|
@ -9,7 +9,23 @@ libOpenCL_la_LIBADD = \
|
|||
$(top_builddir)/src/gallium/state_trackers/clover/libclover.la \
|
||||
$(top_builddir)/src/gallium/auxiliary/libgallium.a \
|
||||
$(GALLIUM_PIPE_LOADER_LIBS) $(LIBUDEV_LIBS) \
|
||||
-ldl
|
||||
-ldl \
|
||||
-lclangCodeGen \
|
||||
-lclangFrontendTool \
|
||||
-lclangFrontend \
|
||||
-lclangDriver \
|
||||
-lclangSerialization \
|
||||
-lclangCodeGen \
|
||||
-lclangParse \
|
||||
-lclangSema \
|
||||
-lclangAnalysis \
|
||||
-lclangRewrite \
|
||||
-lclangAST \
|
||||
-lclangLex \
|
||||
-lclangBasic \
|
||||
-lclangEdit \
|
||||
$(LLVM_LIBS)
|
||||
|
||||
|
||||
libOpenCL_la_SOURCES =
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue