mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
0f0c411079
Patch reviewed by Daniel Dunbar. It will be followed by additional cleanup patches. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150664 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
|