Reduce verbiage of lit.local.cfg files

We can just split targets_to_build in one place and make it immutable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210496 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alp Toker
2014-06-09 22:42:55 +00:00
parent 78b4fd3a4b
commit 8aeca44558
94 changed files with 98 additions and 186 deletions

View File

@@ -1,4 +1,3 @@
targets = set(config.root.targets_to_build.split())
if not 'ARM' in targets:
if not 'ARM' in config.root.targets:
config.unsupported = True

View File

@@ -1,4 +1,3 @@
targets = set(config.root.targets_to_build.split())
if not 'X86' in targets:
if not 'X86' in config.root.targets:
config.unsupported = True

View File

@@ -1,4 +1,3 @@
targets = set(config.root.targets_to_build.split())
if not 'X86' in targets:
if not 'X86' in config.root.targets:
config.unsupported = True

View File

@@ -1,3 +1,2 @@
targets = set(config.root.targets_to_build.split())
if not 'AArch64' in targets:
if not 'AArch64' in config.root.targets:
config.unsupported = True

View File

@@ -1,4 +1,3 @@
targets = set(config.root.targets_to_build.split())
if not 'PowerPC' in targets:
if not 'PowerPC' in config.root.targets:
config.unsupported = True

View File

@@ -1,4 +1,3 @@
targets = set(config.root.targets_to_build.split())
if not 'X86' in targets:
if not 'X86' in config.root.targets:
config.unsupported = True

View File

@@ -1,4 +1,3 @@
targets = set(config.root.targets_to_build.split())
if not 'AArch64' in targets:
if not 'AArch64' in config.root.targets:
config.unsupported = True

View File

@@ -1,4 +1,3 @@
targets = set(config.root.targets_to_build.split())
if not 'ARM' in targets:
if not 'ARM' in config.root.targets:
config.unsupported = True

View File

@@ -1,4 +1,3 @@
targets = set(config.root.targets_to_build.split())
if not 'X86' in targets:
if not 'X86' in config.root.targets:
config.unsupported = True

View File

@@ -1,5 +1,4 @@
config.suffixes = ['.ll']
targets = set(config.root.targets_to_build.split())
if not 'AArch64' in targets:
if not 'AArch64' in config.root.targets:
config.unsupported = True

View File

@@ -1,4 +1,3 @@
targets = set(config.root.targets_to_build.split())
if not 'ARM' in targets:
if not 'ARM' in config.root.targets:
config.unsupported = True

View File

@@ -1,4 +1,3 @@
targets = set(config.root.targets_to_build.split())
if not 'X86' in targets:
if not 'X86' in config.root.targets:
config.unsupported = True

View File

@@ -1,4 +1,3 @@
targets = set(config.root.targets_to_build.split())
if not 'PowerPC' in targets:
if not 'PowerPC' in config.root.targets:
config.unsupported = True

View File

@@ -1,4 +1,3 @@
targets = set(config.root.targets_to_build.split())
if not 'X86' in targets:
if not 'X86' in config.root.targets:
config.unsupported = True

View File

@@ -1,6 +1,5 @@
config.suffixes = ['.ll']
targets = set(config.root.targets_to_build.split())
if not 'AArch64' in targets:
if not 'AArch64' in config.root.targets:
config.unsupported = True

View File

@@ -1,4 +1,3 @@
targets = set(config.root.targets_to_build.split())
if not 'ARM' in targets:
if not 'ARM' in config.root.targets:
config.unsupported = True

View File

@@ -1,4 +1,3 @@
targets = set(config.root.targets_to_build.split())
if not 'PowerPC' in targets:
if not 'PowerPC' in config.root.targets:
config.unsupported = True

View File

@@ -1,4 +1,3 @@
targets = set(config.root.targets_to_build.split())
if not 'X86' in targets:
if not 'X86' in config.root.targets:
config.unsupported = True

View File

@@ -1,3 +1,2 @@
targets = set(config.root.targets_to_build.split())
if not 'XCore' in targets:
if not 'XCore' in config.root.targets:
config.unsupported = True

View File

@@ -1,3 +1,2 @@
targets = set(config.root.targets_to_build.split())
if not 'AArch64' in targets:
if not 'AArch64' in config.root.targets:
config.unsupported = True

View File

@@ -1,3 +1,2 @@
targets = set(config.root.targets_to_build.split())
if not 'ARM' in targets:
if not 'ARM' in config.root.targets:
config.unsupported = True

View File

@@ -1,4 +1,3 @@
targets = set(config.root.targets_to_build.split())
if not 'R600' in targets:
if not 'R600' in config.root.targets:
config.unsupported = True

View File

@@ -1,4 +1,3 @@
targets = set(config.root.targets_to_build.split())
if not 'X86' in targets:
if not 'X86' in config.root.targets:
config.unsupported = True

View File

@@ -1,3 +1,2 @@
targets = set(config.root.targets_to_build.split())
if not 'XCore' in targets:
if not 'XCore' in config.root.targets:
config.unsupported = True

View File

@@ -1,4 +1,3 @@
targets = set(config.root.targets_to_build.split())
if not 'NVPTX' in targets:
if not 'NVPTX' in config.root.targets:
config.unsupported = True

View File

@@ -1,4 +1,3 @@
targets = set(config.root.targets_to_build.split())
if not 'Sparc' in targets:
if not 'Sparc' in config.root.targets:
config.unsupported = True

View File

@@ -1,4 +1,3 @@
targets = set(config.root.targets_to_build.split())
if not 'X86' in targets:
if not 'X86' in config.root.targets:
config.unsupported = True

View File

@@ -1,4 +1,3 @@
targets = set(config.root.targets_to_build.split())
if not 'X86' in targets:
if not 'X86' in config.root.targets:
config.unsupported = True

View File

@@ -1,3 +1,2 @@
targets = set(config.root.targets_to_build.split())
if not 'X86' in targets:
if not 'X86' in config.root.targets:
config.unsupported = True