Skip to content

Commit

Permalink
Revert "Revert "Only link clang libraries that are directly used (#473)…
Browse files Browse the repository at this point in the history
…" (#476)"

This reverts commit 0729d2e.
  • Loading branch information
wenju-he committed Aug 31, 2023
1 parent ca8c580 commit aa28a52
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -264,37 +264,9 @@ if(USE_PREBUILT_LLVM OR CLANG_LINK_CLANG_DYLIB)
list(APPEND OPENCL_CLANG_LINK_LIBS clang-cpp)
else()
list(APPEND OPENCL_CLANG_LINK_LIBS
# The list of clang libraries is taken from clang makefile
# (build/tools/clang/tools/driver/CMakeFiles/clang.dir/link.txt)
# All duplicate libraries are there on purpose
clangBasic
clangCodeGen
clangDriver
clangFrontend
clangFrontendTool
clangCodeGen
clangRewriteFrontend
clangARCMigrate
clangStaticAnalyzerFrontend
clangStaticAnalyzerCheckers
clangStaticAnalyzerCore
clangCrossTU
clangIndex
clangFrontend
clangDriver
clangParse
clangSerialization
clangSema
clangAnalysis
clangEdit
clangFormat
clangToolingInclusions
clangToolingCore
clangRewrite
clangASTMatchers
clangAST
clangLex
clangBasic
)
endif()

Expand Down

0 comments on commit aa28a52

Please sign in to comment.