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())
if not 'X86' in targets:
    config.unsupported = True

config.suffixes = ['.ll', '.c', '.cpp', '.s']

targets = set(config.root.targets_to_build.split())
if not 'X86' in targets:
    config.unsupported = True

Make this Lit config file a bit slimmer
Make this Lit config file a bit slimmer


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@170083 91177308-0d34-0410-b5e6-96231b3b80d8
