forked from OSchip/llvm-project
Revert r97727 at ddunbar's request; we want to solve this some other way.
llvm-svn: 97971
This commit is contained in:
parent
0fbf039db9
commit
2c7c0424b2
|
@ -97,18 +97,6 @@ if config.test_exec_root is None:
|
|||
|
||||
###
|
||||
|
||||
import re
|
||||
site_exp = {}
|
||||
for line in open(os.path.join(config.llvm_obj_root, 'test', 'site.exp')):
|
||||
m = re.match('set ([^ ]+) "([^"]*)"', line)
|
||||
if m:
|
||||
site_exp[m.group(1)] = m.group(2)
|
||||
|
||||
targets = set(site_exp['TARGETS_TO_BUILD'].split())
|
||||
def llvm_supports_target(name):
|
||||
return name in targets
|
||||
config.conditions['TARGET'] = llvm_supports_target
|
||||
|
||||
# Discover the 'clang' and 'clangcc' to use.
|
||||
|
||||
import os
|
||||
|
|
Loading…
Reference in New Issue