diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-12-12 22:45:54 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-12-12 22:45:54 +0000 |
commit | 8889bb08b89d0c9d4b846dc3da1609211c168d0f (patch) | |
tree | f43f80c1bd4b661748543a76b118393763b61c51 /llvm/lib | |
parent | 088f81b891ff28d71bac8a1425052ef8610b610b (diff) | |
download | bcm5719-llvm-8889bb08b89d0c9d4b846dc3da1609211c168d0f.tar.gz bcm5719-llvm-8889bb08b89d0c9d4b846dc3da1609211c168d0f.zip |
LLVMBuild: Introduce a common section which currently has a list of the
subdirectories to traverse into.
- Originally I wanted to avoid this and just autoscan, but this has one key
flaw in that new subdirectories can not automatically trigger a rerun of the
llvm-build tool. This is particularly a pain when switching back and forth
between trees where one has added a subdirectory, as the dependencies will
tend to be wrong. This will also eliminates FIXME implicitly.
llvm-svn: 146436
Diffstat (limited to 'llvm/lib')
22 files changed, 64 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/LLVMBuild.txt b/llvm/lib/Analysis/LLVMBuild.txt index eddcc170bb6..a8a8079d1e5 100644 --- a/llvm/lib/Analysis/LLVMBuild.txt +++ b/llvm/lib/Analysis/LLVMBuild.txt @@ -15,6 +15,9 @@ ; ;===------------------------------------------------------------------------===; +[common] +subdirectories = IPA + [component_0] type = Library name = Analysis diff --git a/llvm/lib/Bitcode/LLVMBuild.txt b/llvm/lib/Bitcode/LLVMBuild.txt index ffea08ae4eb..af9936bbe82 100644 --- a/llvm/lib/Bitcode/LLVMBuild.txt +++ b/llvm/lib/Bitcode/LLVMBuild.txt @@ -15,6 +15,9 @@ ; ;===------------------------------------------------------------------------===; +[common] +subdirectories = Reader Writer + [component_0] type = Group name = Bitcode diff --git a/llvm/lib/CodeGen/LLVMBuild.txt b/llvm/lib/CodeGen/LLVMBuild.txt index 60334c6ffb9..fee0347ea65 100644 --- a/llvm/lib/CodeGen/LLVMBuild.txt +++ b/llvm/lib/CodeGen/LLVMBuild.txt @@ -15,6 +15,9 @@ ; ;===------------------------------------------------------------------------===; +[common] +subdirectories = AsmPrinter SelectionDAG + [component_0] type = Library name = CodeGen diff --git a/llvm/lib/ExecutionEngine/LLVMBuild.txt b/llvm/lib/ExecutionEngine/LLVMBuild.txt index f16c98574fe..d4269692c7c 100644 --- a/llvm/lib/ExecutionEngine/LLVMBuild.txt +++ b/llvm/lib/ExecutionEngine/LLVMBuild.txt @@ -15,6 +15,9 @@ ; ;===------------------------------------------------------------------------===; +[common] +subdirectories = Interpreter JIT MCJIT RuntimeDyld + [component_0] type = Library name = ExecutionEngine diff --git a/llvm/lib/LLVMBuild.txt b/llvm/lib/LLVMBuild.txt index 50fb23c6178..e22b8cd406b 100644 --- a/llvm/lib/LLVMBuild.txt +++ b/llvm/lib/LLVMBuild.txt @@ -15,6 +15,9 @@ ; ;===------------------------------------------------------------------------===; +[common] +subdirectories = Analysis Archive AsmParser Bitcode CodeGen DebugInfo ExecutionEngine Linker MC Object Support TableGen Target Transforms VMCore + [component_0] type = Group name = Libraries diff --git a/llvm/lib/MC/LLVMBuild.txt b/llvm/lib/MC/LLVMBuild.txt index c8cc3d51aad..f35dbe4d5d3 100644 --- a/llvm/lib/MC/LLVMBuild.txt +++ b/llvm/lib/MC/LLVMBuild.txt @@ -15,6 +15,9 @@ ; ;===------------------------------------------------------------------------===; +[common] +subdirectories = MCDisassembler MCParser + [component_0] type = Library name = MC diff --git a/llvm/lib/Target/ARM/LLVMBuild.txt b/llvm/lib/Target/ARM/LLVMBuild.txt index de7af054ab2..fd4b3a33de1 100644 --- a/llvm/lib/Target/ARM/LLVMBuild.txt +++ b/llvm/lib/Target/ARM/LLVMBuild.txt @@ -15,6 +15,9 @@ ; ;===------------------------------------------------------------------------===; +[common] +subdirectories = AsmParser Disassembler InstPrinter MCTargetDesc TargetInfo + [component_0] type = TargetGroup name = ARM diff --git a/llvm/lib/Target/CBackend/LLVMBuild.txt b/llvm/lib/Target/CBackend/LLVMBuild.txt index ce9327a62b4..e64feb0e605 100644 --- a/llvm/lib/Target/CBackend/LLVMBuild.txt +++ b/llvm/lib/Target/CBackend/LLVMBuild.txt @@ -15,6 +15,9 @@ ; ;===------------------------------------------------------------------------===; +[common] +subdirectories = TargetInfo + [component_0] type = TargetGroup name = CBackend diff --git a/llvm/lib/Target/CellSPU/LLVMBuild.txt b/llvm/lib/Target/CellSPU/LLVMBuild.txt index 4071fa68fc2..277620bf4e5 100644 --- a/llvm/lib/Target/CellSPU/LLVMBuild.txt +++ b/llvm/lib/Target/CellSPU/LLVMBuild.txt @@ -15,6 +15,9 @@ ; ;===------------------------------------------------------------------------===; +[common] +subdirectories = MCTargetDesc TargetInfo + [component_0] type = TargetGroup name = CellSPU diff --git a/llvm/lib/Target/CppBackend/LLVMBuild.txt b/llvm/lib/Target/CppBackend/LLVMBuild.txt index 49358309dd0..122b5e7502f 100644 --- a/llvm/lib/Target/CppBackend/LLVMBuild.txt +++ b/llvm/lib/Target/CppBackend/LLVMBuild.txt @@ -15,6 +15,9 @@ ; ;===------------------------------------------------------------------------===; +[common] +subdirectories = TargetInfo + [component_0] type = TargetGroup name = CppBackend diff --git a/llvm/lib/Target/Hexagon/LLVMBuild.txt b/llvm/lib/Target/Hexagon/LLVMBuild.txt index a9524dbfb40..ed64aaa6d17 100644 --- a/llvm/lib/Target/Hexagon/LLVMBuild.txt +++ b/llvm/lib/Target/Hexagon/LLVMBuild.txt @@ -1,4 +1,4 @@ -;===- ./lib/Target/Hexagon/LLVMBuild.txt ----------------------*- Conf -*--===; +;===- ./lib/Target/Hexagon/LLVMBuild.txt -----------------------*- Conf -*--===; ; ; The LLVM Compiler Infrastructure ; @@ -15,6 +15,9 @@ ; ;===------------------------------------------------------------------------===; +[common] +subdirectories = TargetInfo + [component_0] type = TargetGroup name = Hexagon @@ -27,4 +30,3 @@ name = HexagonCodeGen parent = Hexagon required_libraries = AsmPrinter CodeGen Core HexagonInfo SelectionDAG Support Target MC add_to_library_groups = Hexagon - diff --git a/llvm/lib/Target/Hexagon/TargetInfo/LLVMBuild.txt b/llvm/lib/Target/Hexagon/TargetInfo/LLVMBuild.txt index b5d0972f15d..7b87be3e05a 100644 --- a/llvm/lib/Target/Hexagon/TargetInfo/LLVMBuild.txt +++ b/llvm/lib/Target/Hexagon/TargetInfo/LLVMBuild.txt @@ -21,4 +21,3 @@ name = HexagonInfo parent = Hexagon required_libraries = MC Support add_to_library_groups = Hexagon - diff --git a/llvm/lib/Target/LLVMBuild.txt b/llvm/lib/Target/LLVMBuild.txt index 358cbc81d57..5a42ca5efb0 100644 --- a/llvm/lib/Target/LLVMBuild.txt +++ b/llvm/lib/Target/LLVMBuild.txt @@ -15,6 +15,9 @@ ; ;===------------------------------------------------------------------------===; +[common] +subdirectories = ARM CBackend CellSPU CppBackend Hexagon MBlaze MSP430 Mips PTX PowerPC Sparc X86 XCore + ; This is a special group whose required libraries are extended (by llvm-build) ; with the best execution engine (the native JIT, if available, or the ; interpreter). diff --git a/llvm/lib/Target/MBlaze/LLVMBuild.txt b/llvm/lib/Target/MBlaze/LLVMBuild.txt index 426e98ff807..0b290076a4e 100644 --- a/llvm/lib/Target/MBlaze/LLVMBuild.txt +++ b/llvm/lib/Target/MBlaze/LLVMBuild.txt @@ -15,6 +15,9 @@ ; ;===------------------------------------------------------------------------===; +[common] +subdirectories = AsmParser Disassembler InstPrinter MCTargetDesc TargetInfo + [component_0] type = TargetGroup name = MBlaze diff --git a/llvm/lib/Target/MSP430/LLVMBuild.txt b/llvm/lib/Target/MSP430/LLVMBuild.txt index 7cd4b7c713e..51d9702ac56 100644 --- a/llvm/lib/Target/MSP430/LLVMBuild.txt +++ b/llvm/lib/Target/MSP430/LLVMBuild.txt @@ -15,6 +15,9 @@ ; ;===------------------------------------------------------------------------===; +[common] +subdirectories = InstPrinter MCTargetDesc TargetInfo + [component_0] type = TargetGroup name = MSP430 diff --git a/llvm/lib/Target/Mips/LLVMBuild.txt b/llvm/lib/Target/Mips/LLVMBuild.txt index 7609e788df5..bcd32bc0005 100644 --- a/llvm/lib/Target/Mips/LLVMBuild.txt +++ b/llvm/lib/Target/Mips/LLVMBuild.txt @@ -15,6 +15,9 @@ ; ;===------------------------------------------------------------------------===; +[common] +subdirectories = InstPrinter MCTargetDesc TargetInfo + [component_0] type = TargetGroup name = Mips diff --git a/llvm/lib/Target/PTX/LLVMBuild.txt b/llvm/lib/Target/PTX/LLVMBuild.txt index 5cf694ca351..15a1eb53283 100644 --- a/llvm/lib/Target/PTX/LLVMBuild.txt +++ b/llvm/lib/Target/PTX/LLVMBuild.txt @@ -15,6 +15,9 @@ ; ;===------------------------------------------------------------------------===; +[common] +subdirectories = InstPrinter MCTargetDesc TargetInfo + [component_0] type = TargetGroup name = PTX diff --git a/llvm/lib/Target/PowerPC/LLVMBuild.txt b/llvm/lib/Target/PowerPC/LLVMBuild.txt index 6287ce2a4a9..95fac5471ec 100644 --- a/llvm/lib/Target/PowerPC/LLVMBuild.txt +++ b/llvm/lib/Target/PowerPC/LLVMBuild.txt @@ -15,6 +15,9 @@ ; ;===------------------------------------------------------------------------===; +[common] +subdirectories = InstPrinter MCTargetDesc TargetInfo + [component_0] type = TargetGroup name = PowerPC diff --git a/llvm/lib/Target/Sparc/LLVMBuild.txt b/llvm/lib/Target/Sparc/LLVMBuild.txt index 320ba839a9e..fe20d2f4bd1 100644 --- a/llvm/lib/Target/Sparc/LLVMBuild.txt +++ b/llvm/lib/Target/Sparc/LLVMBuild.txt @@ -15,6 +15,9 @@ ; ;===------------------------------------------------------------------------===; +[common] +subdirectories = MCTargetDesc TargetInfo + [component_0] type = TargetGroup name = Sparc diff --git a/llvm/lib/Target/X86/LLVMBuild.txt b/llvm/lib/Target/X86/LLVMBuild.txt index ac7a3cd21da..87305e0e5f5 100644 --- a/llvm/lib/Target/X86/LLVMBuild.txt +++ b/llvm/lib/Target/X86/LLVMBuild.txt @@ -15,6 +15,9 @@ ; ;===------------------------------------------------------------------------===; +[common] +subdirectories = AsmParser Disassembler InstPrinter MCTargetDesc TargetInfo Utils + [component_0] type = TargetGroup name = X86 diff --git a/llvm/lib/Target/XCore/LLVMBuild.txt b/llvm/lib/Target/XCore/LLVMBuild.txt index 35eb4f32abf..53b4a9e3f5f 100644 --- a/llvm/lib/Target/XCore/LLVMBuild.txt +++ b/llvm/lib/Target/XCore/LLVMBuild.txt @@ -15,6 +15,9 @@ ; ;===------------------------------------------------------------------------===; +[common] +subdirectories = MCTargetDesc TargetInfo + [component_0] type = TargetGroup name = XCore diff --git a/llvm/lib/Transforms/LLVMBuild.txt b/llvm/lib/Transforms/LLVMBuild.txt index 255e0409edf..b2ef49a4c63 100644 --- a/llvm/lib/Transforms/LLVMBuild.txt +++ b/llvm/lib/Transforms/LLVMBuild.txt @@ -15,6 +15,9 @@ ; ;===------------------------------------------------------------------------===; +[common] +subdirectories = IPO InstCombine Instrumentation Scalar Utils + [component_0] type = Group name = Transforms |