From d56f62e0df3d5a3a3e3cd66288533e0e6dc85426 Mon Sep 17 00:00:00 2001 From: Julian Lettner Date: Wed, 29 Apr 2020 14:33:19 -0700 Subject: [PATCH] [compiler-rt] Fix issue related to switch to Python3 in lit config --- compiler-rt/test/lit.common.cfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/test/lit.common.cfg.py b/compiler-rt/test/lit.common.cfg.py index 6f32501..efd64b3 100644 --- a/compiler-rt/test/lit.common.cfg.py +++ b/compiler-rt/test/lit.common.cfg.py @@ -181,7 +181,7 @@ elif config.host_os == 'Darwin' and config.apple_platform != "osx": config.compile_wrapper = compile_wrapper try: - prepare_output = subprocess.check_output([prepare_script, config.apple_platform, config.clang]).strip() + prepare_output = subprocess.check_output([prepare_script, config.apple_platform, config.clang]).decode().strip() except subprocess.CalledProcessError as e: print("Command failed:") print(e.output) -- 2.7.4