[Openmp-commits] [PATCH] D95669: Make OpenMP's lit.cfg python 3 compatible

Tobias Hieta via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sun Jan 31 23:21:42 PST 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rGc3c02d0d5a31: [OpenMP] Fix python3 compatibility in openmp's lit.cfg (authored by thieta).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95669/new/

https://reviews.llvm.org/D95669

Files:
  openmp/runtime/test/lit.cfg


Index: openmp/runtime/test/lit.cfg
===================================================================
--- openmp/runtime/test/lit.cfg
+++ openmp/runtime/test/lit.cfg
@@ -76,7 +76,7 @@
   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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95669.320400.patch
Type: text/x-patch
Size: 488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210201/f18c78a6/attachment.bin>


More information about the Openmp-commits mailing list