| import os | |
| config.suffixes = ['.ll', '.mir', '.test', '.txt'] | |
| extract_section_path = os.path.join(config.llvm_src_root, | |
| 'utils', 'extract-section.py') | |
| config.substitutions.append(('extract-section', | |
| "'%s' %s %s" % (config.python_executable, | |
| extract_section_path, '--bits-endian little'))) | |
| if not 'LoongArch' in config.root.targets: | |
| config.unsupported = True |