aboutsummaryrefslogtreecommitdiff
path: root/lib/Target
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-11-12 02:10:57 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-11-12 02:10:57 +0000
commitb8ebca83f4dff04ba21cc97673003f0bd35a2e49 (patch)
treebbd5da231b9ff4baa53da5bc6f5e5ad15496378f /lib/Target
parent75f69e3a3dff78cb89ded1d6c96ccb65603a82d9 (diff)
build: Attempt to rectify inconsistencies between CMake and LLVMBuild versions of explicit dependencies.
- The hope is that we have a tool/test to verify these are accurate (and tight) soon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144444 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/ARM/Disassembler/LLVMBuild.txt2
-rw-r--r--lib/Target/ARM/MCTargetDesc/CMakeLists.txt2
-rw-r--r--lib/Target/ARM/TargetInfo/LLVMBuild.txt2
-rw-r--r--lib/Target/CBackend/TargetInfo/LLVMBuild.txt2
-rw-r--r--lib/Target/CellSPU/MCTargetDesc/LLVMBuild.txt2
-rw-r--r--lib/Target/CellSPU/TargetInfo/LLVMBuild.txt2
-rw-r--r--lib/Target/CppBackend/TargetInfo/CMakeLists.txt1
-rw-r--r--lib/Target/CppBackend/TargetInfo/LLVMBuild.txt2
-rw-r--r--lib/Target/MBlaze/Disassembler/CMakeLists.txt1
-rw-r--r--lib/Target/MBlaze/TargetInfo/LLVMBuild.txt2
-rw-r--r--lib/Target/MSP430/MCTargetDesc/CMakeLists.txt2
-rw-r--r--lib/Target/MSP430/MCTargetDesc/LLVMBuild.txt2
-rw-r--r--lib/Target/MSP430/TargetInfo/LLVMBuild.txt2
-rw-r--r--lib/Target/Mips/TargetInfo/LLVMBuild.txt2
-rw-r--r--lib/Target/PTX/CMakeLists.txt1
-rw-r--r--lib/Target/PTX/LLVMBuild.txt2
-rw-r--r--lib/Target/PTX/MCTargetDesc/CMakeLists.txt2
-rw-r--r--lib/Target/PTX/TargetInfo/LLVMBuild.txt2
-rw-r--r--lib/Target/PowerPC/TargetInfo/LLVMBuild.txt2
-rw-r--r--lib/Target/Sparc/TargetInfo/LLVMBuild.txt2
-rw-r--r--lib/Target/X86/CMakeLists.txt2
-rw-r--r--lib/Target/X86/MCTargetDesc/CMakeLists.txt1
-rw-r--r--lib/Target/X86/TargetInfo/LLVMBuild.txt2
-rw-r--r--lib/Target/XCore/MCTargetDesc/LLVMBuild.txt2
-rw-r--r--lib/Target/XCore/TargetInfo/LLVMBuild.txt2
25 files changed, 25 insertions, 21 deletions
diff --git a/lib/Target/ARM/Disassembler/LLVMBuild.txt b/lib/Target/ARM/Disassembler/LLVMBuild.txt
index dff57b4d70..baa9bc3cab 100644
--- a/lib/Target/ARM/Disassembler/LLVMBuild.txt
+++ b/lib/Target/ARM/Disassembler/LLVMBuild.txt
@@ -19,6 +19,6 @@
type = Library
name = ARMDisassembler
parent = ARM
-required_libraries = ARMDesc ARMInfo MC Support
+required_libraries = ARMCodeGen ARMDesc ARMInfo MC Support
add_to_library_groups = ARM
diff --git a/lib/Target/ARM/MCTargetDesc/CMakeLists.txt b/lib/Target/ARM/MCTargetDesc/CMakeLists.txt
index adc37cbf58..f5293140e8 100644
--- a/lib/Target/ARM/MCTargetDesc/CMakeLists.txt
+++ b/lib/Target/ARM/MCTargetDesc/CMakeLists.txt
@@ -12,8 +12,8 @@ add_dependencies(LLVMARMDesc ARMCommonTableGen)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..)
add_llvm_library_dependencies(LLVMARMDesc
- LLVMARMInfo
LLVMARMAsmPrinter
+ LLVMARMInfo
LLVMMC
LLVMSupport
)
diff --git a/lib/Target/ARM/TargetInfo/LLVMBuild.txt b/lib/Target/ARM/TargetInfo/LLVMBuild.txt
index 7d7504f57c..046c1fce32 100644
--- a/lib/Target/ARM/TargetInfo/LLVMBuild.txt
+++ b/lib/Target/ARM/TargetInfo/LLVMBuild.txt
@@ -19,6 +19,6 @@
type = Library
name = ARMInfo
parent = ARM
-required_libraries = MC Support
+required_libraries = MC Support Target
add_to_library_groups = ARM
diff --git a/lib/Target/CBackend/TargetInfo/LLVMBuild.txt b/lib/Target/CBackend/TargetInfo/LLVMBuild.txt
index 943fe2d2a2..35752b77dc 100644
--- a/lib/Target/CBackend/TargetInfo/LLVMBuild.txt
+++ b/lib/Target/CBackend/TargetInfo/LLVMBuild.txt
@@ -19,6 +19,6 @@
type = Library
name = CBackendInfo
parent = CBackend
-required_libraries = MC Support
+required_libraries = MC Support Target
add_to_library_groups = CBackend
diff --git a/lib/Target/CellSPU/MCTargetDesc/LLVMBuild.txt b/lib/Target/CellSPU/MCTargetDesc/LLVMBuild.txt
index b5147aef98..abc44a29d6 100644
--- a/lib/Target/CellSPU/MCTargetDesc/LLVMBuild.txt
+++ b/lib/Target/CellSPU/MCTargetDesc/LLVMBuild.txt
@@ -19,6 +19,6 @@
type = Library
name = CellSPUDesc
parent = CellSPU
-required_libraries = CellSPUInfo MC Support
+required_libraries = CellSPUInfo MC
add_to_library_groups = CellSPU
diff --git a/lib/Target/CellSPU/TargetInfo/LLVMBuild.txt b/lib/Target/CellSPU/TargetInfo/LLVMBuild.txt
index 7525359d32..0710cc3ba7 100644
--- a/lib/Target/CellSPU/TargetInfo/LLVMBuild.txt
+++ b/lib/Target/CellSPU/TargetInfo/LLVMBuild.txt
@@ -19,6 +19,6 @@
type = Library
name = CellSPUInfo
parent = CellSPU
-required_libraries = MC Support
+required_libraries = MC Support Target
add_to_library_groups = CellSPU
diff --git a/lib/Target/CppBackend/TargetInfo/CMakeLists.txt b/lib/Target/CppBackend/TargetInfo/CMakeLists.txt
index 7165d8fdf2..738b21559e 100644
--- a/lib/Target/CppBackend/TargetInfo/CMakeLists.txt
+++ b/lib/Target/CppBackend/TargetInfo/CMakeLists.txt
@@ -6,5 +6,6 @@ add_llvm_library(LLVMCppBackendInfo
add_llvm_library_dependencies(LLVMCppBackendInfo
LLVMMC
+ LLVMSupport
LLVMTarget
)
diff --git a/lib/Target/CppBackend/TargetInfo/LLVMBuild.txt b/lib/Target/CppBackend/TargetInfo/LLVMBuild.txt
index b130fee634..67a23ba55f 100644
--- a/lib/Target/CppBackend/TargetInfo/LLVMBuild.txt
+++ b/lib/Target/CppBackend/TargetInfo/LLVMBuild.txt
@@ -19,6 +19,6 @@
type = Library
name = CppBackendInfo
parent = CppBackend
-required_libraries = MC Support
+required_libraries = MC Support Target
add_to_library_groups = CppBackend
diff --git a/lib/Target/MBlaze/Disassembler/CMakeLists.txt b/lib/Target/MBlaze/Disassembler/CMakeLists.txt
index 112c64c026..e0a53ee517 100644
--- a/lib/Target/MBlaze/Disassembler/CMakeLists.txt
+++ b/lib/Target/MBlaze/Disassembler/CMakeLists.txt
@@ -14,7 +14,6 @@ set_property(
endif()
add_llvm_library_dependencies(LLVMMBlazeDisassembler
- LLVMMBlazeCodeGen
LLVMMBlazeDesc
LLVMMBlazeInfo
LLVMMC
diff --git a/lib/Target/MBlaze/TargetInfo/LLVMBuild.txt b/lib/Target/MBlaze/TargetInfo/LLVMBuild.txt
index 488c2c74ac..938a1d90f9 100644
--- a/lib/Target/MBlaze/TargetInfo/LLVMBuild.txt
+++ b/lib/Target/MBlaze/TargetInfo/LLVMBuild.txt
@@ -19,6 +19,6 @@
type = Library
name = MBlazeInfo
parent = MBlaze
-required_libraries = MC Support
+required_libraries = MC Support Target
add_to_library_groups = MBlaze
diff --git a/lib/Target/MSP430/MCTargetDesc/CMakeLists.txt b/lib/Target/MSP430/MCTargetDesc/CMakeLists.txt
index 04bd03e494..c2dd448be9 100644
--- a/lib/Target/MSP430/MCTargetDesc/CMakeLists.txt
+++ b/lib/Target/MSP430/MCTargetDesc/CMakeLists.txt
@@ -7,6 +7,8 @@ add_llvm_library_dependencies(LLVMMSP430Desc
LLVMMC
LLVMMSP430AsmPrinter
LLVMMSP430Info
+ LLVMSupport
+ LLVMTarget
)
add_dependencies(LLVMMSP430Desc MSP430CommonTableGen)
diff --git a/lib/Target/MSP430/MCTargetDesc/LLVMBuild.txt b/lib/Target/MSP430/MCTargetDesc/LLVMBuild.txt
index 5d41082387..1890e9d5d2 100644
--- a/lib/Target/MSP430/MCTargetDesc/LLVMBuild.txt
+++ b/lib/Target/MSP430/MCTargetDesc/LLVMBuild.txt
@@ -19,6 +19,6 @@
type = Library
name = MSP430Desc
parent = MSP430
-required_libraries = MC MSP430AsmPrinter MSP430Info Support
+required_libraries = MC MSP430AsmPrinter MSP430Info Support Target
add_to_library_groups = MSP430
diff --git a/lib/Target/MSP430/TargetInfo/LLVMBuild.txt b/lib/Target/MSP430/TargetInfo/LLVMBuild.txt
index 3bcc826dda..a745ea8006 100644
--- a/lib/Target/MSP430/TargetInfo/LLVMBuild.txt
+++ b/lib/Target/MSP430/TargetInfo/LLVMBuild.txt
@@ -19,6 +19,6 @@
type = Library
name = MSP430Info
parent = MSP430
-required_libraries = MC Support
+required_libraries = MC Support Target
add_to_library_groups = MSP430
diff --git a/lib/Target/Mips/TargetInfo/LLVMBuild.txt b/lib/Target/Mips/TargetInfo/LLVMBuild.txt
index e8035af486..90ae26014c 100644
--- a/lib/Target/Mips/TargetInfo/LLVMBuild.txt
+++ b/lib/Target/Mips/TargetInfo/LLVMBuild.txt
@@ -19,6 +19,6 @@
type = Library
name = MipsInfo
parent = Mips
-required_libraries = MC Support
+required_libraries = MC Support Target
add_to_library_groups = Mips
diff --git a/lib/Target/PTX/CMakeLists.txt b/lib/Target/PTX/CMakeLists.txt
index 46a458ce23..6709c1bd85 100644
--- a/lib/Target/PTX/CMakeLists.txt
+++ b/lib/Target/PTX/CMakeLists.txt
@@ -36,6 +36,7 @@ add_llvm_library_dependencies(LLVMPTXCodeGen
LLVMSelectionDAG
LLVMSupport
LLVMTarget
+ LLVMTransformUtils
)
add_subdirectory(TargetInfo)
diff --git a/lib/Target/PTX/LLVMBuild.txt b/lib/Target/PTX/LLVMBuild.txt
index 27807e6930..22c70dec0e 100644
--- a/lib/Target/PTX/LLVMBuild.txt
+++ b/lib/Target/PTX/LLVMBuild.txt
@@ -25,6 +25,6 @@ has_asmprinter = 1
type = Library
name = PTXCodeGen
parent = PTX
-required_libraries = Analysis AsmPrinter CodeGen Core MC PTXDesc PTXInfo Scalar SelectionDAG Support Target TransformUtils
+required_libraries = Analysis AsmPrinter CodeGen Core MC PTXDesc PTXInfo SelectionDAG Support Target TransformUtils
add_to_library_groups = PTX
diff --git a/lib/Target/PTX/MCTargetDesc/CMakeLists.txt b/lib/Target/PTX/MCTargetDesc/CMakeLists.txt
index 811ef4bd1f..94dbcee050 100644
--- a/lib/Target/PTX/MCTargetDesc/CMakeLists.txt
+++ b/lib/Target/PTX/MCTargetDesc/CMakeLists.txt
@@ -5,8 +5,8 @@ add_llvm_library(LLVMPTXDesc
add_llvm_library_dependencies(LLVMPTXDesc
LLVMMC
- LLVMPTXInfo
LLVMPTXAsmPrinter
+ LLVMPTXInfo
LLVMSupport
)
diff --git a/lib/Target/PTX/TargetInfo/LLVMBuild.txt b/lib/Target/PTX/TargetInfo/LLVMBuild.txt
index f35c237b12..8e5285a6dc 100644
--- a/lib/Target/PTX/TargetInfo/LLVMBuild.txt
+++ b/lib/Target/PTX/TargetInfo/LLVMBuild.txt
@@ -19,6 +19,6 @@
type = Library
name = PTXInfo
parent = PTX
-required_libraries = MC Support
+required_libraries = MC Support Target
add_to_library_groups = PTX
diff --git a/lib/Target/PowerPC/TargetInfo/LLVMBuild.txt b/lib/Target/PowerPC/TargetInfo/LLVMBuild.txt
index 1f5d3e7083..f51b417d52 100644
--- a/lib/Target/PowerPC/TargetInfo/LLVMBuild.txt
+++ b/lib/Target/PowerPC/TargetInfo/LLVMBuild.txt
@@ -19,6 +19,6 @@
type = Library
name = PowerPCInfo
parent = PowerPC
-required_libraries = MC Support
+required_libraries = MC Support Target
add_to_library_groups = PowerPC
diff --git a/lib/Target/Sparc/TargetInfo/LLVMBuild.txt b/lib/Target/Sparc/TargetInfo/LLVMBuild.txt
index 22f4e1f4f7..81c9032fc9 100644
--- a/lib/Target/Sparc/TargetInfo/LLVMBuild.txt
+++ b/lib/Target/Sparc/TargetInfo/LLVMBuild.txt
@@ -19,6 +19,6 @@
type = Library
name = SparcInfo
parent = Sparc
-required_libraries = MC Support
+required_libraries = MC Support Target
add_to_library_groups = Sparc
diff --git a/lib/Target/X86/CMakeLists.txt b/lib/Target/X86/CMakeLists.txt
index b5901992f6..4542d4bfca 100644
--- a/lib/Target/X86/CMakeLists.txt
+++ b/lib/Target/X86/CMakeLists.txt
@@ -62,6 +62,8 @@ add_llvm_library_dependencies(LLVMX86CodeGen
LLVMTarget
LLVMX86AsmPrinter
LLVMX86Desc
+ LLVMX86Info
+ LLVMX86Utils
)
add_subdirectory(AsmParser)
diff --git a/lib/Target/X86/MCTargetDesc/CMakeLists.txt b/lib/Target/X86/MCTargetDesc/CMakeLists.txt
index 87219120e2..264e7912f8 100644
--- a/lib/Target/X86/MCTargetDesc/CMakeLists.txt
+++ b/lib/Target/X86/MCTargetDesc/CMakeLists.txt
@@ -10,7 +10,6 @@ add_llvm_library_dependencies(LLVMX86Desc
LLVMMC
LLVMSupport
LLVMX86AsmPrinter
- LLVMX86AsmPrinter
LLVMX86Info
)
diff --git a/lib/Target/X86/TargetInfo/LLVMBuild.txt b/lib/Target/X86/TargetInfo/LLVMBuild.txt
index 6b2635b685..ee015bd92d 100644
--- a/lib/Target/X86/TargetInfo/LLVMBuild.txt
+++ b/lib/Target/X86/TargetInfo/LLVMBuild.txt
@@ -19,6 +19,6 @@
type = Library
name = X86Info
parent = X86
-required_libraries = MC Support
+required_libraries = MC Support Target
add_to_library_groups = X86
diff --git a/lib/Target/XCore/MCTargetDesc/LLVMBuild.txt b/lib/Target/XCore/MCTargetDesc/LLVMBuild.txt
index 7f4a433828..628afb50ed 100644
--- a/lib/Target/XCore/MCTargetDesc/LLVMBuild.txt
+++ b/lib/Target/XCore/MCTargetDesc/LLVMBuild.txt
@@ -19,6 +19,6 @@
type = Library
name = XCoreDesc
parent = XCore
-required_libraries = MC Support XCoreInfo
+required_libraries = MC XCoreInfo
add_to_library_groups = XCore
diff --git a/lib/Target/XCore/TargetInfo/LLVMBuild.txt b/lib/Target/XCore/TargetInfo/LLVMBuild.txt
index 1d1b722cfa..d0b8e5446e 100644
--- a/lib/Target/XCore/TargetInfo/LLVMBuild.txt
+++ b/lib/Target/XCore/TargetInfo/LLVMBuild.txt
@@ -19,6 +19,6 @@
type = Library
name = XCoreInfo
parent = XCore
-required_libraries = MC Support
+required_libraries = MC Support Target
add_to_library_groups = XCore