config.suffixes = ['.ll', '.c', '.cpp']
+
+def getRoot(config):
+ if not config.parent:
+ return config
+ return getRoot(config.parent)
+
+root = getRoot(config)
+
+if root.host_arch in ['PowerPC', 'AArch64', 'SystemZ']:
+ config.unsupported = True
+
+if 'hexagon' in root.target_triple:
+ config.unsupported = True