File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -264,9 +264,37 @@ if(USE_PREBUILT_LLVM OR CLANG_LINK_CLANG_DYLIB)
264264 list (APPEND OPENCL_CLANG_LINK_LIBS clang-cpp)
265265else ()
266266 list (APPEND OPENCL_CLANG_LINK_LIBS
267+ # The list of clang libraries is taken from clang makefile
268+ # (build/tools/clang/tools/driver/CMakeFiles/clang.dir/link.txt)
269+ # All duplicate libraries are there on purpose
267270 clangBasic
271+ clangCodeGen
272+ clangDriver
268273 clangFrontend
269274 clangFrontendTool
275+ clangCodeGen
276+ clangRewriteFrontend
277+ clangARCMigrate
278+ clangStaticAnalyzerFrontend
279+ clangStaticAnalyzerCheckers
280+ clangStaticAnalyzerCore
281+ clangCrossTU
282+ clangIndex
283+ clangFrontend
284+ clangDriver
285+ clangParse
286+ clangSerialization
287+ clangSema
288+ clangAnalysis
289+ clangEdit
290+ clangFormat
291+ clangToolingInclusions
292+ clangToolingCore
293+ clangRewrite
294+ clangASTMatchers
295+ clangAST
296+ clangLex
297+ clangBasic
270298 )
271299endif ()
272300
You can’t perform that action at this time.
0 commit comments