diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2011-11-10 00:50:07 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2011-11-10 00:50:07 +0000 |
| commit | 233c9304a8ed8664098109904a589c56eae0444a (patch) | |
| tree | a0de942525a8b63edf66fed8675a1758027a1e89 /llvm/lib/Target | |
| parent | 79fa1e8891f0347714683273f7435f2960523a86 (diff) | |
| download | bcm5719-llvm-233c9304a8ed8664098109904a589c56eae0444a.tar.gz bcm5719-llvm-233c9304a8ed8664098109904a589c56eae0444a.zip | |
llvm-build: Add --native-target and --enable-targets options, and add logic to
handle defining the "magic" target related components (like native,
nativecodegen, and engine).
- We still require these components to be in the project (currently in
lib/Target) so that we have a place to document them and hopefully make it
more obvious that they are "magic".
llvm-svn: 144253
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/ARM/LLVMBuild.txt | 1 | ||||
| -rw-r--r-- | llvm/lib/Target/CBackend/LLVMBuild.txt | 1 | ||||
| -rw-r--r-- | llvm/lib/Target/CellSPU/LLVMBuild.txt | 1 | ||||
| -rw-r--r-- | llvm/lib/Target/CppBackend/LLVMBuild.txt | 1 | ||||
| -rw-r--r-- | llvm/lib/Target/LLVMBuild.txt | 20 | ||||
| -rw-r--r-- | llvm/lib/Target/MBlaze/LLVMBuild.txt | 1 | ||||
| -rw-r--r-- | llvm/lib/Target/MSP430/LLVMBuild.txt | 1 | ||||
| -rw-r--r-- | llvm/lib/Target/Mips/LLVMBuild.txt | 1 | ||||
| -rw-r--r-- | llvm/lib/Target/PTX/LLVMBuild.txt | 1 | ||||
| -rw-r--r-- | llvm/lib/Target/PowerPC/LLVMBuild.txt | 1 | ||||
| -rw-r--r-- | llvm/lib/Target/Sparc/LLVMBuild.txt | 1 | ||||
| -rw-r--r-- | llvm/lib/Target/X86/LLVMBuild.txt | 1 | ||||
| -rw-r--r-- | llvm/lib/Target/XCore/LLVMBuild.txt | 1 |
13 files changed, 16 insertions, 16 deletions
diff --git a/llvm/lib/Target/ARM/LLVMBuild.txt b/llvm/lib/Target/ARM/LLVMBuild.txt index cfac6ac51ba..79cae91f5b9 100644 --- a/llvm/lib/Target/ARM/LLVMBuild.txt +++ b/llvm/lib/Target/ARM/LLVMBuild.txt @@ -19,7 +19,6 @@ type = TargetGroup name = ARM parent = Target -add_to_library_groups = all-targets has_jit = 1 [component_1] diff --git a/llvm/lib/Target/CBackend/LLVMBuild.txt b/llvm/lib/Target/CBackend/LLVMBuild.txt index 0b1f885703d..851ded923c7 100644 --- a/llvm/lib/Target/CBackend/LLVMBuild.txt +++ b/llvm/lib/Target/CBackend/LLVMBuild.txt @@ -19,7 +19,6 @@ type = TargetGroup name = CBackend parent = Target -add_to_library_groups = all-targets [component_1] type = Library diff --git a/llvm/lib/Target/CellSPU/LLVMBuild.txt b/llvm/lib/Target/CellSPU/LLVMBuild.txt index e8db9f3f84d..a2127dd1c00 100644 --- a/llvm/lib/Target/CellSPU/LLVMBuild.txt +++ b/llvm/lib/Target/CellSPU/LLVMBuild.txt @@ -19,7 +19,6 @@ type = TargetGroup name = CellSPU parent = Target -add_to_library_groups = all-targets [component_1] type = Library diff --git a/llvm/lib/Target/CppBackend/LLVMBuild.txt b/llvm/lib/Target/CppBackend/LLVMBuild.txt index 79ad4c1f544..77e31c7af0b 100644 --- a/llvm/lib/Target/CppBackend/LLVMBuild.txt +++ b/llvm/lib/Target/CppBackend/LLVMBuild.txt @@ -19,7 +19,6 @@ type = TargetGroup name = CppBackend parent = Target -add_to_library_groups = all-targets [component_1] type = Library diff --git a/llvm/lib/Target/LLVMBuild.txt b/llvm/lib/Target/LLVMBuild.txt index 073a76a0f1a..09dadd6b1e9 100644 --- a/llvm/lib/Target/LLVMBuild.txt +++ b/llvm/lib/Target/LLVMBuild.txt @@ -21,20 +21,32 @@ name = Target parent = Libraries required_libraries = Core MC Support +; This is a convenient group we define (and expect targets to add to) which +; makes it easy for tools to include every target. [component_1] type = LibraryGroup name = all-targets parent = Libraries +; This is a special group whose required libraries are extended (by llvm-build) +; with the configured native target, if any. [component_2] type = LibraryGroup -name = native +name = Native parent = Libraries -required_libraries = X86 +; This is a special group whose required libraries are extended (by llvm-build) +; with the configured native code generator, if any. [component_3] type = LibraryGroup -name = nativecodegen +name = NativeCodeGen +parent = Libraries + +; 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). +[component_4] +type = LibraryGroup +name = Engine parent = Libraries -required_libraries = X86CodeGen diff --git a/llvm/lib/Target/MBlaze/LLVMBuild.txt b/llvm/lib/Target/MBlaze/LLVMBuild.txt index b953e3df305..fa8955252d8 100644 --- a/llvm/lib/Target/MBlaze/LLVMBuild.txt +++ b/llvm/lib/Target/MBlaze/LLVMBuild.txt @@ -19,7 +19,6 @@ type = TargetGroup name = MBlaze parent = Target -add_to_library_groups = all-targets [component_1] type = Library diff --git a/llvm/lib/Target/MSP430/LLVMBuild.txt b/llvm/lib/Target/MSP430/LLVMBuild.txt index 8b0b1f6534d..9ade1106688 100644 --- a/llvm/lib/Target/MSP430/LLVMBuild.txt +++ b/llvm/lib/Target/MSP430/LLVMBuild.txt @@ -19,7 +19,6 @@ type = TargetGroup name = MSP430 parent = Target -add_to_library_groups = all-targets [component_1] type = Library diff --git a/llvm/lib/Target/Mips/LLVMBuild.txt b/llvm/lib/Target/Mips/LLVMBuild.txt index bcec4a9661f..65c7d7fd2f0 100644 --- a/llvm/lib/Target/Mips/LLVMBuild.txt +++ b/llvm/lib/Target/Mips/LLVMBuild.txt @@ -19,7 +19,6 @@ type = TargetGroup name = Mips parent = Target -add_to_library_groups = all-targets has_jit = 1 [component_1] diff --git a/llvm/lib/Target/PTX/LLVMBuild.txt b/llvm/lib/Target/PTX/LLVMBuild.txt index 27119c2a3e7..180e7ce82cc 100644 --- a/llvm/lib/Target/PTX/LLVMBuild.txt +++ b/llvm/lib/Target/PTX/LLVMBuild.txt @@ -19,7 +19,6 @@ type = TargetGroup name = PTX parent = Target -add_to_library_groups = all-targets [component_1] type = Library diff --git a/llvm/lib/Target/PowerPC/LLVMBuild.txt b/llvm/lib/Target/PowerPC/LLVMBuild.txt index 3c439f37738..ce8b2e9196a 100644 --- a/llvm/lib/Target/PowerPC/LLVMBuild.txt +++ b/llvm/lib/Target/PowerPC/LLVMBuild.txt @@ -19,7 +19,6 @@ type = TargetGroup name = PowerPC parent = Target -add_to_library_groups = all-targets has_jit = 1 [component_1] diff --git a/llvm/lib/Target/Sparc/LLVMBuild.txt b/llvm/lib/Target/Sparc/LLVMBuild.txt index f59cc2eec42..d99057f20b2 100644 --- a/llvm/lib/Target/Sparc/LLVMBuild.txt +++ b/llvm/lib/Target/Sparc/LLVMBuild.txt @@ -19,7 +19,6 @@ type = TargetGroup name = Sparc parent = Target -add_to_library_groups = all-targets [component_1] type = Library diff --git a/llvm/lib/Target/X86/LLVMBuild.txt b/llvm/lib/Target/X86/LLVMBuild.txt index 7f48a9e485c..814e81b304b 100644 --- a/llvm/lib/Target/X86/LLVMBuild.txt +++ b/llvm/lib/Target/X86/LLVMBuild.txt @@ -19,7 +19,6 @@ type = TargetGroup name = X86 parent = Target -add_to_library_groups = all-targets has_jit = 1 [component_1] diff --git a/llvm/lib/Target/XCore/LLVMBuild.txt b/llvm/lib/Target/XCore/LLVMBuild.txt index 41943c36906..f1b75740cbe 100644 --- a/llvm/lib/Target/XCore/LLVMBuild.txt +++ b/llvm/lib/Target/XCore/LLVMBuild.txt @@ -19,7 +19,6 @@ type = TargetGroup name = XCore parent = Target -add_to_library_groups = all-targets [component_1] type = Library |

