[Lldb-commits] [PATCH] D55736: build.py: inherit environment in the gcc builder
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 18 01:10:46 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rLLDB349461: build.py: inherit environment in the gcc builder (authored by labath, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D55736?vs=178356&id=178620#toc
Repository:
rLLDB LLDB
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55736/new/
https://reviews.llvm.org/D55736
Files:
lit/helper/build.py
Index: lit/helper/build.py
===================================================================
--- lit/helper/build.py
+++ lit/helper/build.py
@@ -153,6 +153,9 @@
return result
def print_environment(env):
+ if env is None:
+ print(' Inherited')
+ return
for e in env:
value = env[e]
lines = value.split(os.pathsep)
@@ -633,7 +636,7 @@
args.extend(['-o', obj])
args.append(source)
- return ('compiling', [source], obj, {}, args)
+ return ('compiling', [source], obj, None, args)
def _get_link_command(self):
args = []
@@ -649,7 +652,7 @@
args.extend(['-o', self._exe_file_name()])
args.extend(self._obj_file_names())
- return ('linking', self._obj_file_names(), self._exe_file_name(), {}, args)
+ return ('linking', self._obj_file_names(), self._exe_file_name(), None, args)
def output_files(self):
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55736.178620.patch
Type: text/x-patch
Size: 942 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20181218/1025dcd6/attachment-0001.bin>
More information about the lldb-commits
mailing list