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 | affc6cf9d2b2b74532ce82027ac4524d1e29a658 (patch) | |
tree | 8b9c79b44e624f8066d82f2fc6fe24d77d9d2d39 /lib/Target/LLVMBuild.txt | |
parent | b4eaee7a4407a73d95b042b08523e9ace577e2a1 (diff) | |
download | llvm-affc6cf9d2b2b74532ce82027ac4524d1e29a658.tar.gz llvm-affc6cf9d2b2b74532ce82027ac4524d1e29a658.tar.bz2 llvm-affc6cf9d2b2b74532ce82027ac4524d1e29a658.tar.xz |
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".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144253 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/LLVMBuild.txt')
-rw-r--r-- | lib/Target/LLVMBuild.txt | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/lib/Target/LLVMBuild.txt b/lib/Target/LLVMBuild.txt index 073a76a0f1..09dadd6b1e 100644 --- a/lib/Target/LLVMBuild.txt +++ b/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 |