File tree 1 file changed +28
-0
lines changed
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)
264
264
list (APPEND OPENCL_CLANG_LINK_LIBS clang-cpp)
265
265
else ()
266
266
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
267
270
clangBasic
271
+ clangCodeGen
272
+ clangDriver
268
273
clangFrontend
269
274
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
270
298
)
271
299
endif ()
272
300
You can’t perform that action at this time.
0 commit comments