Make this Lit config file a bit slimmer

llvm-svn: 170083
This commit is contained in:
Eli Bendersky 2012-12-13 02:03:46 +00:00
parent 0f47b2a631
commit f9be4c8b47
1 changed files with 1 additions and 8 deletions

View File

@ -1,12 +1,5 @@
config.suffixes = ['.ll', '.c', '.cpp', '.s']
def getRoot(config):
if not config.parent:
return config
return getRoot(config.parent)
root = getRoot(config)
targets = set(root.targets_to_build.split())
targets = set(config.root.targets_to_build.split())
if not 'X86' in targets:
config.unsupported = True