mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-28 16:11:29 +00:00
Revert "NFC: utils/perf-training: Python 3 compatibility for lit.cfg"
This reverts commit 9178b10163
(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
This commit is contained in:
parent
72391ab4f1
commit
5f4426e517
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user