diff options
author | Tobias Hieta <tobias@plex.tv> | 2021-01-29 08:44:56 +0100 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2021-02-03 11:50:49 -0800 |
commit | 0564dd904bf7ef7758cb904ed8f7f2a1f915ef8d (patch) | |
tree | c7d00f51f32833c3140089d2a06e886e1e7a4a92 | |
parent | 52a70a07e93c322ad137bce1a1ff2f1c9fdf6050 (diff) | |
download | llvm-0564dd904bf7ef7758cb904ed8f7f2a1f915ef8d.tar.gz |
[OpenMP] Fix python3 compatibility in openmp's lit.cfg
Differential Revision: https://reviews.llvm.org/D95669
(cherry picked from commit c3c02d0d5a313272f6d35926bdf678fc6b884c02)
-rw-r--r-- | openmp/runtime/test/lit.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
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 |