summaryrefslogtreecommitdiffstats
path: root/clang/utils
diff options
context:
space:
mode:
authorAzharuddin Mohammed <azhar@apple.com>2019-07-24 22:42:50 +0000
committerAzharuddin Mohammed <azhar@apple.com>2019-07-24 22:42:50 +0000
commit5f4426e517fc26d10db2fd09f3e254e80446d62d (patch)
tree05a5cd4af3b0bc153515f193196ec9bbf932ee0c /clang/utils
parent72391ab4f168dc380d4cc3a37c2b4ebd93c75083 (diff)
downloadbcm5719-llvm-5f4426e517fc26d10db2fd09f3e254e80446d62d.tar.gz
bcm5719-llvm-5f4426e517fc26d10db2fd09f3e254e80446d62d.zip
Revert "NFC: utils/perf-training: Python 3 compatibility for lit.cfg"
This reverts commit 9178b10163f758cbf8a5290ea6a827990427ddc0 (r365969). We are back to using Python2 and this is failing. This should instead be made to be compatible with both Python 2 and 3. llvm-svn: 366953
Diffstat (limited to 'clang/utils')
-rw-r--r--clang/utils/perf-training/lit.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/utils/perf-training/lit.cfg b/clang/utils/perf-training/lit.cfg
index be822d66e38..671d44f83b9 100644
--- 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().decode()
+ out = subprocess.check_output(['xcrun', '--show-sdk-path']).strip()
res = 0
except OSError:
res = -1
OpenPOWER on IntegriCloud