[llvm-branch-commits] [openmp] 0564dd9 - [OpenMP] Fix python3 compatibility in openmp's lit.cfg
Tom Stellard via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Feb 3 11:51:15 PST 2021
Author: Tobias Hieta
Date: 2021-02-03T11:50:49-08:00
New Revision: 0564dd904bf7ef7758cb904ed8f7f2a1f915ef8d
URL: https://github.com/llvm/llvm-project/commit/0564dd904bf7ef7758cb904ed8f7f2a1f915ef8d
DIFF: https://github.com/llvm/llvm-project/commit/0564dd904bf7ef7758cb904ed8f7f2a1f915ef8d.diff
LOG: [OpenMP] Fix python3 compatibility in openmp's lit.cfg
Differential Revision: https://reviews.llvm.org/D95669
(cherry picked from commit c3c02d0d5a313272f6d35926bdf678fc6b884c02)
Added:
Modified:
openmp/runtime/test/lit.cfg
Removed:
################################################################################
diff --git a/openmp/runtime/test/lit.cfg b/openmp/runtime/test/lit.cfg
index 0d4a6107ff2b..c4e5fe1ea9e0 100644
--- a/openmp/runtime/test/lit.cfg
+++ b/openmp/runtime/test/lit.cfg
@@ -76,7 +76,7 @@ if config.operating_system == 'Darwin':
cmd = subprocess.Popen(['xcrun', '--show-sdk-path'],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out, err = cmd.communicate()
- out = out.strip()
+ out = out.strip().decode()
res = cmd.wait()
if res == 0 and out:
config.test_flags += " -isysroot " + out
More information about the llvm-branch-commits
mailing list