Author: azhar Date: Wed Jul 24 15:42:50 2019 New Revision: 366953 URL: http://llvm.org/viewvc/llvm-project?rev=366953&view=rev Log: 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. Modified: cfe/trunk/utils/perf-training/lit.cfg Modified: cfe/trunk/utils/perf-training/lit.cfg URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/perf-training/lit.cfg?rev=366953&r1=366952&r2=366953&view=diff ============================================================================== --- cfe/trunk/utils/perf-training/lit.cfg (original) +++ cfe/trunk/utils/perf-training/lit.cfg Wed Jul 24 15:42:50 2019 @@ -10,7 +10,7 @@ def getSysrootFlagsOnDarwin(config, lit_ # 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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits