projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5034102
)
Reapply "NFC: utils/perf-training: Python 3 compatibility for lit.cfg"
author
Azharuddin Mohammed
<azhar@apple.com>
Tue, 5 May 2020 22:08:12 +0000
(15:08 -0700)
committer
Azharuddin Mohammed
<azhar@apple.com>
Tue, 5 May 2020 22:56:23 +0000
(15:56 -0700)
This is in response to the recent move to Python 3.
This reverts commit
5f4426e517fc26d10db2fd09f3e254e80446d62d
.
clang/utils/perf-training/lit.cfg
patch
|
blob
|
history
diff --git
a/clang/utils/perf-training/lit.cfg
b/clang/utils/perf-training/lit.cfg
index
e5b7162
..
acb50ad
100644
(file)
--- a/
clang/utils/perf-training/lit.cfg
+++ b/
clang/utils/perf-training/lit.cfg
@@
-10,7
+10,7
@@
def getSysrootFlagsOnDarwin(config, lit_config):
# default system root path.
if 'darwin' in config.target_triple:
try:
- out = subprocess.check_output(['xcrun', '--show-sdk-path']).strip()
+ out = subprocess.check_output(['xcrun', '--show-sdk-path']).strip()
.decode()
res = 0
except OSError:
res = -1