[llvm-commits] [llvm] r114999 - in /llvm/trunk/lib: Analysis/ CodeGen/ CodeGen/AsmPrinter/ CodeGen/SelectionDAG/ Support/ Target/ARM/ Target/Alpha/ Target/CellSPU/ Target/MBlaze/ Target/MSP430/ Target/Mips/ Target/PIC16/AsmPrinter/ Target/PTX/ Target/PowerPC/ Target/Sparc/ Target/SystemZ/ Transforms/IPO/ Transforms/InstCombine/ Transforms/Scalar/ Transforms/Utils/
Oscar Fuentes
ofv at wanadoo.es
Tue Sep 28 15:39:15 PDT 2010
Author: ofv
Date: Tue Sep 28 17:39:14 2010
New Revision: 114999
URL: http://llvm.org/viewvc/llvm-project?rev=114999&view=rev
Log:
Removed a bunch of unnecessary target_link_libraries.
Modified:
llvm/trunk/lib/Analysis/CMakeLists.txt
llvm/trunk/lib/CodeGen/AsmPrinter/CMakeLists.txt
llvm/trunk/lib/CodeGen/CMakeLists.txt
llvm/trunk/lib/CodeGen/SelectionDAG/CMakeLists.txt
llvm/trunk/lib/Support/CMakeLists.txt
llvm/trunk/lib/Target/ARM/CMakeLists.txt
llvm/trunk/lib/Target/Alpha/CMakeLists.txt
llvm/trunk/lib/Target/CellSPU/CMakeLists.txt
llvm/trunk/lib/Target/MBlaze/CMakeLists.txt
llvm/trunk/lib/Target/MSP430/CMakeLists.txt
llvm/trunk/lib/Target/Mips/CMakeLists.txt
llvm/trunk/lib/Target/PIC16/AsmPrinter/CMakeLists.txt
llvm/trunk/lib/Target/PTX/CMakeLists.txt
llvm/trunk/lib/Target/PowerPC/CMakeLists.txt
llvm/trunk/lib/Target/Sparc/CMakeLists.txt
llvm/trunk/lib/Target/SystemZ/CMakeLists.txt
llvm/trunk/lib/Transforms/IPO/CMakeLists.txt
llvm/trunk/lib/Transforms/InstCombine/CMakeLists.txt
llvm/trunk/lib/Transforms/Scalar/CMakeLists.txt
llvm/trunk/lib/Transforms/Utils/CMakeLists.txt
Modified: llvm/trunk/lib/Analysis/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/CMakeLists.txt?rev=114999&r1=114998&r2=114999&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/CMakeLists.txt (original)
+++ llvm/trunk/lib/Analysis/CMakeLists.txt Tue Sep 28 17:39:14 2010
@@ -50,5 +50,3 @@
TypeBasedAliasAnalysis.cpp
ValueTracking.cpp
)
-
-target_link_libraries (LLVMAnalysis LLVMSupport)
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/CMakeLists.txt?rev=114999&r1=114998&r2=114999&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/CMakeLists.txt (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/CMakeLists.txt Tue Sep 28 17:39:14 2010
@@ -8,4 +8,3 @@
OcamlGCPrinter.cpp
)
-target_link_libraries (LLVMAsmPrinter LLVMMCParser)
Modified: llvm/trunk/lib/CodeGen/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/CMakeLists.txt?rev=114999&r1=114998&r2=114999&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/CMakeLists.txt (original)
+++ llvm/trunk/lib/CodeGen/CMakeLists.txt Tue Sep 28 17:39:14 2010
@@ -82,5 +82,3 @@
VirtRegMap.cpp
VirtRegRewriter.cpp
)
-
-target_link_libraries (LLVMCodeGen LLVMCore LLVMScalarOpts)
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/CMakeLists.txt?rev=114999&r1=114998&r2=114999&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/CMakeLists.txt (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/CMakeLists.txt Tue Sep 28 17:39:14 2010
@@ -21,5 +21,3 @@
TargetLowering.cpp
TargetSelectionDAGInfo.cpp
)
-
-target_link_libraries (LLVMSelectionDAG LLVMAnalysis LLVMAsmPrinter LLVMCodeGen)
Modified: llvm/trunk/lib/Support/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/CMakeLists.txt?rev=114999&r1=114998&r2=114999&view=diff
==============================================================================
--- llvm/trunk/lib/Support/CMakeLists.txt (original)
+++ llvm/trunk/lib/Support/CMakeLists.txt Tue Sep 28 17:39:14 2010
@@ -45,5 +45,3 @@
regfree.c
regstrlcpy.c
)
-
-target_link_libraries (LLVMSupport LLVMSystem)
Modified: llvm/trunk/lib/Target/ARM/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/CMakeLists.txt?rev=114999&r1=114998&r2=114999&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/ARM/CMakeLists.txt Tue Sep 28 17:39:14 2010
@@ -49,4 +49,7 @@
Thumb2SizeReduction.cpp
)
-target_link_libraries (LLVMARMCodeGen LLVMARMAsmPrinter LLVMSelectionDAG)
+# The ARM CodeGen library depends on the AsmPrinter for just an
+# vtable, but GenLibDeps.pl is unable to detect it. So without this
+# the build fails with "undefined reference to `vtable for ..."
+target_link_libraries(LLVMARMCodeGen LLVMARMAsmPrinter)
Modified: llvm/trunk/lib/Target/Alpha/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Alpha/CMakeLists.txt?rev=114999&r1=114998&r2=114999&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Alpha/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/Alpha/CMakeLists.txt Tue Sep 28 17:39:14 2010
@@ -25,5 +25,3 @@
AlphaTargetMachine.cpp
AlphaSelectionDAGInfo.cpp
)
-
-target_link_libraries (LLVMAlphaCodeGen LLVMSelectionDAG)
Modified: llvm/trunk/lib/Target/CellSPU/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CellSPU/CMakeLists.txt?rev=114999&r1=114998&r2=114999&view=diff
==============================================================================
--- llvm/trunk/lib/Target/CellSPU/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/CellSPU/CMakeLists.txt Tue Sep 28 17:39:14 2010
@@ -23,5 +23,3 @@
SPUTargetMachine.cpp
SPUSelectionDAGInfo.cpp
)
-
-target_link_libraries (LLVMCellSPUCodeGen LLVMSelectionDAG)
Modified: llvm/trunk/lib/Target/MBlaze/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MBlaze/CMakeLists.txt?rev=114999&r1=114998&r2=114999&view=diff
==============================================================================
--- llvm/trunk/lib/Target/MBlaze/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/MBlaze/CMakeLists.txt Tue Sep 28 17:39:14 2010
@@ -24,5 +24,3 @@
MBlazeIntrinsicInfo.cpp
MBlazeSelectionDAGInfo.cpp
)
-
-target_link_libraries (LLVMMBlazeCodeGen LLVMSelectionDAG)
Modified: llvm/trunk/lib/Target/MSP430/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSP430/CMakeLists.txt?rev=114999&r1=114998&r2=114999&view=diff
==============================================================================
--- llvm/trunk/lib/Target/MSP430/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/MSP430/CMakeLists.txt Tue Sep 28 17:39:14 2010
@@ -21,5 +21,3 @@
MSP430TargetMachine.cpp
MSP430SelectionDAGInfo.cpp
)
-
-target_link_libraries (LLVMMSP430CodeGen LLVMSelectionDAG)
Modified: llvm/trunk/lib/Target/Mips/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/CMakeLists.txt?rev=114999&r1=114998&r2=114999&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/Mips/CMakeLists.txt Tue Sep 28 17:39:14 2010
@@ -22,5 +22,3 @@
MipsTargetObjectFile.cpp
MipsSelectionDAGInfo.cpp
)
-
-target_link_libraries (LLVMMipsCodeGen LLVMSelectionDAG)
Modified: llvm/trunk/lib/Target/PIC16/AsmPrinter/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/AsmPrinter/CMakeLists.txt?rev=114999&r1=114998&r2=114999&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PIC16/AsmPrinter/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/PIC16/AsmPrinter/CMakeLists.txt Tue Sep 28 17:39:14 2010
@@ -7,8 +7,4 @@
PIC16AsmPrinter.cpp
)
-target_link_libraries(LLVMPIC16AsmPrinter
- LLVMPIC16CodeGen
- )
-
add_dependencies(LLVMPIC16AsmPrinter PIC16CodeGenTable_gen)
Modified: llvm/trunk/lib/Target/PTX/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PTX/CMakeLists.txt?rev=114999&r1=114998&r2=114999&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PTX/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/PTX/CMakeLists.txt Tue Sep 28 17:39:14 2010
@@ -18,5 +18,3 @@
PTXSubtarget.cpp
PTXTargetMachine.cpp
)
-
-target_link_libraries (LLVMPTXCodeGen LLVMSelectionDAG)
Modified: llvm/trunk/lib/Target/PowerPC/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/CMakeLists.txt?rev=114999&r1=114998&r2=114999&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/PowerPC/CMakeLists.txt Tue Sep 28 17:39:14 2010
@@ -26,5 +26,3 @@
PPCTargetMachine.cpp
PPCSelectionDAGInfo.cpp
)
-
-target_link_libraries (LLVMPowerPCCodeGen LLVMSelectionDAG)
Modified: llvm/trunk/lib/Target/Sparc/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Sparc/CMakeLists.txt?rev=114999&r1=114998&r2=114999&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Sparc/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/Sparc/CMakeLists.txt Tue Sep 28 17:39:14 2010
@@ -22,5 +22,3 @@
SparcTargetMachine.cpp
SparcSelectionDAGInfo.cpp
)
-
-target_link_libraries (LLVMSparcCodeGen LLVMSelectionDAG)
Modified: llvm/trunk/lib/Target/SystemZ/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/CMakeLists.txt?rev=114999&r1=114998&r2=114999&view=diff
==============================================================================
--- llvm/trunk/lib/Target/SystemZ/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/SystemZ/CMakeLists.txt Tue Sep 28 17:39:14 2010
@@ -20,5 +20,3 @@
SystemZTargetMachine.cpp
SystemZSelectionDAGInfo.cpp
)
-
-target_link_libraries (LLVMSystemZCodeGen LLVMSelectionDAG)
Modified: llvm/trunk/lib/Transforms/IPO/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/CMakeLists.txt?rev=114999&r1=114998&r2=114999&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/CMakeLists.txt (original)
+++ llvm/trunk/lib/Transforms/IPO/CMakeLists.txt Tue Sep 28 17:39:14 2010
@@ -23,5 +23,3 @@
StripSymbols.cpp
StructRetPromotion.cpp
)
-
-target_link_libraries (LLVMipo LLVMScalarOpts LLVMInstCombine)
Modified: llvm/trunk/lib/Transforms/InstCombine/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/CMakeLists.txt?rev=114999&r1=114998&r2=114999&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/CMakeLists.txt (original)
+++ llvm/trunk/lib/Transforms/InstCombine/CMakeLists.txt Tue Sep 28 17:39:14 2010
@@ -13,5 +13,3 @@
InstCombineSimplifyDemanded.cpp
InstCombineVectorOps.cpp
)
-
-target_link_libraries (LLVMInstCombine LLVMTransformUtils)
Modified: llvm/trunk/lib/Transforms/Scalar/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/CMakeLists.txt?rev=114999&r1=114998&r2=114999&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/CMakeLists.txt (original)
+++ llvm/trunk/lib/Transforms/Scalar/CMakeLists.txt Tue Sep 28 17:39:14 2010
@@ -31,5 +31,3 @@
TailDuplication.cpp
TailRecursionElimination.cpp
)
-
-target_link_libraries (LLVMScalarOpts LLVMTransformUtils)
Modified: llvm/trunk/lib/Transforms/Utils/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/CMakeLists.txt?rev=114999&r1=114998&r2=114999&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/CMakeLists.txt (original)
+++ llvm/trunk/lib/Transforms/Utils/CMakeLists.txt Tue Sep 28 17:39:14 2010
@@ -25,4 +25,3 @@
ValueMapper.cpp
)
-target_link_libraries (LLVMTransformUtils LLVMSupport)
More information about the llvm-commits
mailing list