mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
24ec2e5a72
- Instead of setting the suffixes in a bunch of places, just set one master list in the top-level config. We now only modify the suffix list in a few suites that have one particular unique suffix (.ml, .mc, .yaml, .td, .py). - Aside from removing the need for a bunch of lit.local.cfg files, this enables 4 tests that were inadvertently being skipped (one in Transforms/BranchFolding, a .s file each in DebugInfo/AArch64 and CodeGen/PowerPC, and one in CodeGen/SI which is now failing and has been XFAILED). - This commit also fixes a bunch of config files to use config.root instead of older copy-pasted code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188513 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
798 B
INI
23 lines
798 B
INI
root = config.root
|
|
targets = set(root.targets_to_build.split())
|
|
if ('X86' in targets) | ('AArch64' in targets) | ('ARM' in targets) | \
|
|
('Mips' in targets) | ('PowerPC' in targets) | ('SystemZ' in targets):
|
|
config.unsupported = False
|
|
else:
|
|
config.unsupported = True
|
|
|
|
# FIXME: autoconf and cmake produce different arch names. We should normalize
|
|
# them before getting here.
|
|
if root.host_arch not in ['i386', 'x86', 'x86_64',
|
|
'AArch64', 'ARM', 'Mips', 'PowerPC', 'ppc64', 'SystemZ']:
|
|
config.unsupported = True
|
|
|
|
if 'armv7' in root.host_arch:
|
|
config.unsupported = False
|
|
|
|
if 'i386-apple-darwin' in root.target_triple:
|
|
config.unsupported = True
|
|
|
|
if 'powerpc' in root.target_triple and not 'powerpc64' in root.target_triple:
|
|
config.unsupported = True
|