2012-02-16 14:28:33 +08:00
|
|
|
config.suffixes = ['.ll', '.c', '.cpp']
|
2012-11-20 01:57:07 +08:00
|
|
|
|
|
|
|
def getRoot(config):
|
|
|
|
if not config.parent:
|
|
|
|
return config
|
|
|
|
return getRoot(config.parent)
|
|
|
|
|
|
|
|
root = getRoot(config)
|
|
|
|
|
2013-05-07 00:21:50 +08:00
|
|
|
if root.host_arch in ['PowerPC', 'AArch64', 'SystemZ']:
|
2012-11-20 01:57:07 +08:00
|
|
|
config.unsupported = True
|
|
|
|
|
2013-03-26 04:02:14 +08:00
|
|
|
if 'hexagon' in root.target_triple:
|
|
|
|
config.unsupported = True
|