mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
eae33fdf31
Fix Bug 49485 (https://bugs.llvm.org/show_bug.cgi?id=49485). Which was caused by incorrect invocation of `extract-section.py` on Windows. Replacing it with more general python script invocation. Differential Revision: https://reviews.llvm.org/D98661
15 lines
403 B
INI
15 lines
403 B
INI
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, '--byte-indicator --hex-width=2')))
|
|
|
|
if not 'M68k' in config.root.targets:
|
|
config.unsupported = True
|
|
|