mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
[LIT] Add a clang_tools_extra_site_cfg to match the various other site_cfg.
This doesn't seem ideal, perhaps we could just keep the llvm_site_cfg and have other config (clang and clang-tools-extra) derive their site_cfg from that. Suggestions/complaints/ideas welcome. llvm-svn: 163171
This commit is contained in:
parent
a5fd74206a
commit
258495d9ac
@ -18,10 +18,15 @@ builtin_parameters = {
|
||||
'llvm_site_config' : os.path.join(llvm_obj_root, 'test', 'lit.site.cfg')
|
||||
}
|
||||
|
||||
clang_site_config = os.path.join(llvm_obj_root, 'tools', 'clang', 'test',
|
||||
'lit.site.cfg')
|
||||
if os.path.exists(clang_site_config):
|
||||
builtin_parameters['clang_site_config'] = clang_site_config
|
||||
clang_obj_root = os.path.join(llvm_obj_root, 'tools', 'clang')
|
||||
|
||||
if os.path.exists(clang_obj_root):
|
||||
builtin_parameters['clang_site_config'] = \
|
||||
os.path.join(clang_obj_root, 'test', 'lit.site.cfg')
|
||||
clang_tools_extra_obj_root = os.path.join(clang_obj_root, 'tools', 'extra')
|
||||
if os.path.exists(clang_tools_extra_obj_root):
|
||||
builtin_parameters['clang_tools_extra_site_config'] = \
|
||||
os.path.join(clang_tools_extra_obj_root, 'test', 'lit.site.cfg')
|
||||
|
||||
if __name__=='__main__':
|
||||
import lit
|
||||
|
Loading…
Reference in New Issue
Block a user