summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/LLVMBuild.txt
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-11-10 00:50:07 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-11-10 00:50:07 +0000
commit233c9304a8ed8664098109904a589c56eae0444a (patch)
treea0de942525a8b63edf66fed8675a1758027a1e89 /llvm/lib/Target/LLVMBuild.txt
parent79fa1e8891f0347714683273f7435f2960523a86 (diff)
downloadbcm5719-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/LLVMBuild.txt')
-rw-r--r--llvm/lib/Target/LLVMBuild.txt20
1 files changed, 16 insertions, 4 deletions
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
OpenPOWER on IntegriCloud