forked from OSchip/llvm-project
parent
471a649c6b
commit
0d7e9538db
|
@ -148,11 +148,11 @@ def llvm_supports_target(name):
|
|||
def llvm_supports_darwin_and_target(name):
|
||||
return 'darwin' in config.target_triple and llvm_supports_target(name)
|
||||
|
||||
langs = set([s.strip for s in site_exp['llvmgcc_langs'].split(',')])
|
||||
langs = set([s.strip() for s in site_exp['llvmgcc_langs'].split(',')])
|
||||
def llvm_gcc_supports(name):
|
||||
return name.strip() in langs
|
||||
|
||||
bindings = set([s.strip for s in site_exp['llvm_bindings'].split(',')])
|
||||
bindings = set([s.strip() for s in site_exp['llvm_bindings'].split(',')])
|
||||
def llvm_supports_binding(name):
|
||||
return name.strip() in bindings
|
||||
|
||||
|
|
Loading…
Reference in New Issue