Attempt to speculatively unbreak Apple build bots
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@302627 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1006,18 +1006,8 @@ class Configuration(object):
|
|||||||
sub.append(('%link', link_str))
|
sub.append(('%link', link_str))
|
||||||
sub.append(('%build', build_str))
|
sub.append(('%build', build_str))
|
||||||
# Configure exec prefix substitutions.
|
# Configure exec prefix substitutions.
|
||||||
exec_env_str = ''
|
|
||||||
if not self.is_windows and len(self.exec_env) != 0:
|
|
||||||
exec_env_str = 'env '
|
|
||||||
for k, v in self.exec_env.items():
|
|
||||||
exec_env_str += ' %s=%s' % (k, v)
|
|
||||||
# Configure run env substitution.
|
# Configure run env substitution.
|
||||||
exec_str = exec_env_str
|
sub.append(('%run', '%t.exe'))
|
||||||
if self.lit_config.useValgrind:
|
|
||||||
exec_str = ' '.join(self.lit_config.valgrindArgs) + exec_env_str
|
|
||||||
sub.append(('%exec', exec_str))
|
|
||||||
# Configure run shortcut
|
|
||||||
sub.append(('%run', exec_str + ' %t.exe'))
|
|
||||||
# Configure not program substitutions
|
# Configure not program substitutions
|
||||||
not_py = os.path.join(self.libcxx_src_root, 'utils', 'not.py')
|
not_py = os.path.join(self.libcxx_src_root, 'utils', 'not.py')
|
||||||
not_str = '%s %s ' % (pipes.quote(sys.executable), pipes.quote(not_py))
|
not_str = '%s %s ' % (pipes.quote(sys.executable), pipes.quote(not_py))
|
||||||
|
|||||||
Reference in New Issue
Block a user