[clang] 077a2a4 - [CMake] Cleanup deps

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 16 08:39:12 PDT 2023


Author: NAKAMURA Takumi
Date: 2023-04-17T00:38:49+09:00
New Revision: 077a2a4bcddf62fd002f80f150ef0e5c785ba89b

URL: https://github.com/llvm/llvm-project/commit/077a2a4bcddf62fd002f80f150ef0e5c785ba89b
DIFF: https://github.com/llvm/llvm-project/commit/077a2a4bcddf62fd002f80f150ef0e5c785ba89b.diff

LOG: [CMake] Cleanup deps

Added: 
    

Modified: 
    clang/lib/Index/CMakeLists.txt
    clang/lib/Interpreter/CMakeLists.txt
    clang/lib/Tooling/DependencyScanning/CMakeLists.txt
    clang/lib/Tooling/Inclusions/CMakeLists.txt
    clang/tools/clang-repl/CMakeLists.txt
    clang/tools/clang-scan-deps/CMakeLists.txt
    clang/unittests/Basic/CMakeLists.txt
    llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt
    llvm/lib/DWP/CMakeLists.txt
    llvm/lib/FuzzMutate/CMakeLists.txt
    llvm/tools/dsymutil/CMakeLists.txt
    llvm/tools/llc/CMakeLists.txt
    llvm/tools/llvm-debuginfo-analyzer/CMakeLists.txt
    llvm/tools/llvm-dwarfutil/CMakeLists.txt
    llvm/tools/llvm-gsymutil/CMakeLists.txt
    llvm/tools/llvm-ifs/CMakeLists.txt
    llvm/tools/llvm-modextract/CMakeLists.txt
    llvm/tools/llvm-objdump/CMakeLists.txt
    llvm/tools/llvm-opt-fuzzer/CMakeLists.txt
    llvm/tools/llvm-opt-report/CMakeLists.txt
    llvm/tools/llvm-profdata/CMakeLists.txt
    llvm/tools/llvm-readobj/CMakeLists.txt
    llvm/tools/llvm-remark-size-diff/CMakeLists.txt
    llvm/tools/llvm-remarkutil/CMakeLists.txt
    llvm/tools/llvm-symbolizer/CMakeLists.txt
    llvm/tools/llvm-xray/CMakeLists.txt
    llvm/tools/sancov/CMakeLists.txt
    llvm/unittests/tools/llvm-mca/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/clang/lib/Index/CMakeLists.txt b/clang/lib/Index/CMakeLists.txt
index 68c689b01969e..e6c1721d8c026 100644
--- a/clang/lib/Index/CMakeLists.txt
+++ b/clang/lib/Index/CMakeLists.txt
@@ -23,7 +23,6 @@ add_clang_library(clangIndex
   clangFormat
   clangFrontend
   clangLex
-  clangRewrite
   clangSerialization
   clangToolingCore
 

diff  --git a/clang/lib/Interpreter/CMakeLists.txt b/clang/lib/Interpreter/CMakeLists.txt
index 4702c6a7e8221..c9236248dccb2 100644
--- a/clang/lib/Interpreter/CMakeLists.txt
+++ b/clang/lib/Interpreter/CMakeLists.txt
@@ -23,7 +23,6 @@ add_clang_library(clangInterpreter
   clangBasic
   clangCodeGen
   clangDriver
-  clangEdit
   clangFrontend
   clangFrontendTool
   clangLex

diff  --git a/clang/lib/Tooling/DependencyScanning/CMakeLists.txt b/clang/lib/Tooling/DependencyScanning/CMakeLists.txt
index ac93f757dc314..a8ff0a2813bcc 100644
--- a/clang/lib/Tooling/DependencyScanning/CMakeLists.txt
+++ b/clang/lib/Tooling/DependencyScanning/CMakeLists.txt
@@ -22,7 +22,6 @@ add_clang_library(clangDependencyScanning
   clangCodeGen
   clangDriver
   clangFrontend
-  clangFrontendTool
   clangLex
   clangParse
   clangSerialization

diff  --git a/clang/lib/Tooling/Inclusions/CMakeLists.txt b/clang/lib/Tooling/Inclusions/CMakeLists.txt
index 78b25f4a34862..f9c2e6397ae72 100644
--- a/clang/lib/Tooling/Inclusions/CMakeLists.txt
+++ b/clang/lib/Tooling/Inclusions/CMakeLists.txt
@@ -8,7 +8,6 @@ add_clang_library(clangToolingInclusions
   LINK_LIBS
   clangBasic
   clangLex
-  clangRewrite
   clangToolingCore
   )
 

diff  --git a/clang/tools/clang-repl/CMakeLists.txt b/clang/tools/clang-repl/CMakeLists.txt
index b51a18c10cdca..2ea0122a7b795 100644
--- a/clang/tools/clang-repl/CMakeLists.txt
+++ b/clang/tools/clang-repl/CMakeLists.txt
@@ -15,7 +15,6 @@ clang_target_link_libraries(clang-repl PRIVATE
   clangBasic
   clangFrontend
   clangInterpreter
-  clangTooling
   )
 
 # Support plugins.

diff  --git a/clang/tools/clang-scan-deps/CMakeLists.txt b/clang/tools/clang-scan-deps/CMakeLists.txt
index c68a98f8449e5..7ffc3f9027829 100644
--- a/clang/tools/clang-scan-deps/CMakeLists.txt
+++ b/clang/tools/clang-scan-deps/CMakeLists.txt
@@ -19,11 +19,9 @@ add_clang_tool(clang-scan-deps
 set(CLANG_SCAN_DEPS_LIB_DEPS
   clangAST
   clangBasic
-  clangCodeGen
   clangDependencyScanning
   clangDriver
   clangFrontend
-  clangFrontendTool
   clangLex
   clangParse
   clangSerialization

diff  --git a/clang/unittests/Basic/CMakeLists.txt b/clang/unittests/Basic/CMakeLists.txt
index 6c00f63332af4..3844ba49add8d 100644
--- a/clang/unittests/Basic/CMakeLists.txt
+++ b/clang/unittests/Basic/CMakeLists.txt
@@ -16,7 +16,6 @@ add_clang_unittest(BasicTests
 
 clang_target_link_libraries(BasicTests
   PRIVATE
-  clangAST
   clangBasic
   clangLex
   )

diff  --git a/llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt b/llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt
index 410e120d0e1bd..4e0b7a919445b 100644
--- a/llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt
+++ b/llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt
@@ -37,7 +37,6 @@ add_llvm_component_library(LLVMAsmPrinter
   Core
   DebugInfoCodeView
   DebugInfoDWARF
-  DebugInfoMSF
   MC
   MCParser
   Remarks

diff  --git a/llvm/lib/DWP/CMakeLists.txt b/llvm/lib/DWP/CMakeLists.txt
index 228c0f20989c5..777de1978dae3 100644
--- a/llvm/lib/DWP/CMakeLists.txt
+++ b/llvm/lib/DWP/CMakeLists.txt
@@ -13,5 +13,4 @@ add_llvm_component_library(LLVMDWP
   MC
   Object
   Support
-  Target
   )

diff  --git a/llvm/lib/FuzzMutate/CMakeLists.txt b/llvm/lib/FuzzMutate/CMakeLists.txt
index da233b7f24f7d..e162c1bbe8e10 100644
--- a/llvm/lib/FuzzMutate/CMakeLists.txt
+++ b/llvm/lib/FuzzMutate/CMakeLists.txt
@@ -32,7 +32,6 @@ add_llvm_component_library(LLVMFuzzMutate
   Core
   Scalar
   Support
-  Target
   TargetParser
   TransformUtils
   )

diff  --git a/llvm/tools/dsymutil/CMakeLists.txt b/llvm/tools/dsymutil/CMakeLists.txt
index 9470e73453b9b..b8d34d80817e5 100644
--- a/llvm/tools/dsymutil/CMakeLists.txt
+++ b/llvm/tools/dsymutil/CMakeLists.txt
@@ -9,7 +9,6 @@ set(LLVM_LINK_COMPONENTS
   AsmPrinter
   CodeGen
   DWARFLinker
-  DWARFLinkerParallel
   DebugInfoDWARF
   MC
   Object

diff  --git a/llvm/tools/llc/CMakeLists.txt b/llvm/tools/llc/CMakeLists.txt
index d283ebe14f1df..17e6e80d1223d 100644
--- a/llvm/tools/llc/CMakeLists.txt
+++ b/llvm/tools/llc/CMakeLists.txt
@@ -4,7 +4,6 @@ set(LLVM_LINK_COMPONENTS
   AllTargetsDescs
   AllTargetsInfos
   Analysis
-  AsmParser
   AsmPrinter
   CodeGen
   Core

diff  --git a/llvm/tools/llvm-debuginfo-analyzer/CMakeLists.txt b/llvm/tools/llvm-debuginfo-analyzer/CMakeLists.txt
index 18273170da60a..3e16d81abe35c 100644
--- a/llvm/tools/llvm-debuginfo-analyzer/CMakeLists.txt
+++ b/llvm/tools/llvm-debuginfo-analyzer/CMakeLists.txt
@@ -4,7 +4,6 @@ set(LLVM_LINK_COMPONENTS
   AllTargetsInfos
   BinaryFormat
   DebugInfoCodeView
-  DebugInfoDWARF
   DebugInfoLogicalView
   DebugInfoPDB
   MC

diff  --git a/llvm/tools/llvm-dwarfutil/CMakeLists.txt b/llvm/tools/llvm-dwarfutil/CMakeLists.txt
index 9374ae0194b18..5be7056ce0d70 100644
--- a/llvm/tools/llvm-dwarfutil/CMakeLists.txt
+++ b/llvm/tools/llvm-dwarfutil/CMakeLists.txt
@@ -7,7 +7,6 @@ set(LLVM_LINK_COMPONENTS
   AllTargetsDescs
   AllTargetsInfos
   DWARFLinker
-  DWARFLinkerParallel
   DebugInfoDWARF
   MC
   ObjCopy

diff  --git a/llvm/tools/llvm-gsymutil/CMakeLists.txt b/llvm/tools/llvm-gsymutil/CMakeLists.txt
index 4bbbffa50c116..e499d965b704e 100644
--- a/llvm/tools/llvm-gsymutil/CMakeLists.txt
+++ b/llvm/tools/llvm-gsymutil/CMakeLists.txt
@@ -5,7 +5,6 @@ set(LLVM_LINK_COMPONENTS
   MC
   Object
   Support
-  Target
   TargetParser
   )
 

diff  --git a/llvm/tools/llvm-ifs/CMakeLists.txt b/llvm/tools/llvm-ifs/CMakeLists.txt
index fe89646573024..dc008eaec8bdc 100644
--- a/llvm/tools/llvm-ifs/CMakeLists.txt
+++ b/llvm/tools/llvm-ifs/CMakeLists.txt
@@ -1,7 +1,6 @@
 set(LLVM_LINK_COMPONENTS
   BinaryFormat
   InterfaceStub
-  Object
   ObjectYAML
   Option
   Support

diff  --git a/llvm/tools/llvm-modextract/CMakeLists.txt b/llvm/tools/llvm-modextract/CMakeLists.txt
index d310df973b41c..8d967ac1ee6b2 100644
--- a/llvm/tools/llvm-modextract/CMakeLists.txt
+++ b/llvm/tools/llvm-modextract/CMakeLists.txt
@@ -2,7 +2,6 @@ set(LLVM_LINK_COMPONENTS
   BitReader
   BitWriter
   Core
-  IRReader
   Support
   )
 

diff  --git a/llvm/tools/llvm-objdump/CMakeLists.txt b/llvm/tools/llvm-objdump/CMakeLists.txt
index c8c07ca707032..65d2f92848dbc 100644
--- a/llvm/tools/llvm-objdump/CMakeLists.txt
+++ b/llvm/tools/llvm-objdump/CMakeLists.txt
@@ -4,7 +4,6 @@ set(LLVM_LINK_COMPONENTS
   AllTargetsInfos
   BinaryFormat
   DebugInfoDWARF
-  DebugInfoPDB
   Demangle
   MC
   MCDisassembler

diff  --git a/llvm/tools/llvm-opt-fuzzer/CMakeLists.txt b/llvm/tools/llvm-opt-fuzzer/CMakeLists.txt
index ed75c33a2c3ed..b3c1c85681d27 100644
--- a/llvm/tools/llvm-opt-fuzzer/CMakeLists.txt
+++ b/llvm/tools/llvm-opt-fuzzer/CMakeLists.txt
@@ -13,7 +13,6 @@ set(LLVM_LINK_COMPONENTS
   FuzzMutate
   FuzzerCLI
   IPO
-  IRReader
   InstCombine
   Instrumentation
   MC

diff  --git a/llvm/tools/llvm-opt-report/CMakeLists.txt b/llvm/tools/llvm-opt-report/CMakeLists.txt
index 130d309edb44e..2803de384737c 100644
--- a/llvm/tools/llvm-opt-report/CMakeLists.txt
+++ b/llvm/tools/llvm-opt-report/CMakeLists.txt
@@ -1,7 +1,5 @@
 set(LLVM_LINK_COMPONENTS
-  Core
   Demangle
-  Object
   Remarks
   Support
   )

diff  --git a/llvm/tools/llvm-profdata/CMakeLists.txt b/llvm/tools/llvm-profdata/CMakeLists.txt
index 38bf048e4dc8f..25cf143337ad4 100644
--- a/llvm/tools/llvm-profdata/CMakeLists.txt
+++ b/llvm/tools/llvm-profdata/CMakeLists.txt
@@ -1,6 +1,5 @@
 set(LLVM_LINK_COMPONENTS
   Core
-  DebugInfoDWARF
   Object
   ProfileData
   Support

diff  --git a/llvm/tools/llvm-readobj/CMakeLists.txt b/llvm/tools/llvm-readobj/CMakeLists.txt
index cfbdc179ef1c9..c49526bd7b2c9 100644
--- a/llvm/tools/llvm-readobj/CMakeLists.txt
+++ b/llvm/tools/llvm-readobj/CMakeLists.txt
@@ -2,8 +2,6 @@ set(LLVM_LINK_COMPONENTS
   BinaryFormat
   DebugInfoCodeView
   DebugInfoDWARF
-  DebugInfoMSF
-  DebugInfoPDB
   Demangle
   Object
   Option

diff  --git a/llvm/tools/llvm-remark-size-
diff /CMakeLists.txt b/llvm/tools/llvm-remark-size-
diff /CMakeLists.txt
index 4391867db9f6a..7e6f007511cb5 100644
--- a/llvm/tools/llvm-remark-size-
diff /CMakeLists.txt
+++ b/llvm/tools/llvm-remark-size-
diff /CMakeLists.txt
@@ -1,7 +1,5 @@
 set(LLVM_LINK_COMPONENTS
-  Core
   Demangle
-  Object
   Remarks
   Support
   )

diff  --git a/llvm/tools/llvm-remarkutil/CMakeLists.txt b/llvm/tools/llvm-remarkutil/CMakeLists.txt
index f33e7bc3847de..bf044d248fb78 100644
--- a/llvm/tools/llvm-remarkutil/CMakeLists.txt
+++ b/llvm/tools/llvm-remarkutil/CMakeLists.txt
@@ -1,7 +1,5 @@
 set(LLVM_LINK_COMPONENTS
-  Core
   Demangle
-  Object
   Remarks
   Support
   )

diff  --git a/llvm/tools/llvm-symbolizer/CMakeLists.txt b/llvm/tools/llvm-symbolizer/CMakeLists.txt
index f1a6087c0047f..a6bc047154c67 100644
--- a/llvm/tools/llvm-symbolizer/CMakeLists.txt
+++ b/llvm/tools/llvm-symbolizer/CMakeLists.txt
@@ -8,8 +8,6 @@ tablegen(LLVM Opts.inc -gen-opt-parser-defs)
 add_public_tablegen_target(SymbolizerOptsTableGen)
 
 set(LLVM_LINK_COMPONENTS
-  DebugInfoDWARF
-  DebugInfoPDB
   Demangle
   Object
   Option

diff  --git a/llvm/tools/llvm-xray/CMakeLists.txt b/llvm/tools/llvm-xray/CMakeLists.txt
index 2551b97e550dc..4f2f0fdee2c63 100644
--- a/llvm/tools/llvm-xray/CMakeLists.txt
+++ b/llvm/tools/llvm-xray/CMakeLists.txt
@@ -1,5 +1,4 @@
 set(LLVM_LINK_COMPONENTS
-  DebugInfoDWARF
   Object
   Support
   Symbolize

diff  --git a/llvm/tools/sancov/CMakeLists.txt b/llvm/tools/sancov/CMakeLists.txt
index bda2faa6ac658..3fc1cacba3a6c 100644
--- a/llvm/tools/sancov/CMakeLists.txt
+++ b/llvm/tools/sancov/CMakeLists.txt
@@ -2,8 +2,6 @@ set(LLVM_LINK_COMPONENTS
   AllTargetsDescs
   AllTargetsDisassemblers
   AllTargetsInfos
-  DebugInfoDWARF
-  DebugInfoPDB
   MC
   MCDisassembler
   Object

diff  --git a/llvm/unittests/tools/llvm-mca/CMakeLists.txt b/llvm/unittests/tools/llvm-mca/CMakeLists.txt
index e26ccb4e66b16..b209d7931190d 100644
--- a/llvm/unittests/tools/llvm-mca/CMakeLists.txt
+++ b/llvm/unittests/tools/llvm-mca/CMakeLists.txt
@@ -1,7 +1,6 @@
 set(LLVM_LINK_COMPONENTS
   MC
   MCA
-  Object
   Support
   TargetParser
   )


        


More information about the cfe-commits mailing list