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 /utils/llvm-build/llvmbuild/componentinfo.py | |
parent | b4eaee7a4407a73d95b042b08523e9ace577e2a1 (diff) | |
download | external_llvm-affc6cf9d2b2b74532ce82027ac4524d1e29a658.zip external_llvm-affc6cf9d2b2b74532ce82027ac4524d1e29a658.tar.gz external_llvm-affc6cf9d2b2b74532ce82027ac4524d1e29a658.tar.bz2 |
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 'utils/llvm-build/llvmbuild/componentinfo.py')
-rw-r--r-- | utils/llvm-build/llvmbuild/componentinfo.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/llvm-build/llvmbuild/componentinfo.py b/utils/llvm-build/llvmbuild/componentinfo.py index 00b8ac5..6897d10 100644 --- a/utils/llvm-build/llvmbuild/componentinfo.py +++ b/utils/llvm-build/llvmbuild/componentinfo.py @@ -215,6 +215,10 @@ class TargetGroupComponentInfo(ComponentInfo): # Whether or not this target supports the JIT. self.has_jit = bool(has_jit) + # Whether or not this target is enabled. This is set in response to + # configuration parameters. + self.enabled = False + def get_component_references(self): for r in ComponentInfo.get_component_references(self): yield r |