mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
4afdeeb682
Patch reviewed by Daniel Dunbar. It will be followed by additional cleanup patches. llvm-svn: 150664
14 lines
302 B
INI
14 lines
302 B
INI
config.suffixes = ['.ll', '.c', '.cpp', '.ml']
|
|
|
|
def getRoot(config):
|
|
if not config.parent:
|
|
return config
|
|
return getRoot(config.parent)
|
|
|
|
root = getRoot(config)
|
|
|
|
bindings = set([s.strip() for s in root.llvm_bindings.split(',')])
|
|
if not 'ocaml' in bindings:
|
|
config.unsupported = True
|
|
|