mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-08 19:25:47 +00:00
Make this Lit config file a bit slimmer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170083 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,12 +1,5 @@
|
|||||||
config.suffixes = ['.ll', '.c', '.cpp', '.s']
|
config.suffixes = ['.ll', '.c', '.cpp', '.s']
|
||||||
|
|
||||||
def getRoot(config):
|
targets = set(config.root.targets_to_build.split())
|
||||||
if not config.parent:
|
|
||||||
return config
|
|
||||||
return getRoot(config.parent)
|
|
||||||
|
|
||||||
root = getRoot(config)
|
|
||||||
|
|
||||||
targets = set(root.targets_to_build.split())
|
|
||||||
if not 'X86' in targets:
|
if not 'X86' in targets:
|
||||||
config.unsupported = True
|
config.unsupported = True
|
||||||
|
Reference in New Issue
Block a user