[llvm-bugs] [Bug 46864] New: openmp/runtime/test/lit.cfg fails to parse on mac os catalina

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 27 11:38:31 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=46864

            Bug ID: 46864
           Summary: openmp/runtime/test/lit.cfg fails to parse on mac os
                    catalina
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Runtime Library
          Assignee: unassignedbugs at nondot.org
          Reporter: hans at chromium.org
                CC: llvm-bugs at lists.llvm.org
            Blocks: 46725

Trying out the 11.x branch on macos catalina fails like so:

  File
"/Users/hwennborg/llvm-test-release/bf2c0fb8a254345e62f18d61ed8c3ca84307b0d8/Phase3/Release/llvmCore-test-bf2c0fb8a254345e62f18d61ed8c3ca84307b0d8.obj/bin/../../../../llvm-project/llvm/utils/lit/lit/TestingConfig.py",
line 88, in load_from_path
    exec(compile(data, path, 'exec'), cfg_globals, None)
  File
"/Users/hwennborg/llvm-test-release/bf2c0fb8a254345e62f18d61ed8c3ca84307b0d8/llvm-project/openmp/runtime/test/lit.cfg",
line 82, in <module>
    config.test_flags += " -isysroot " + out
TypeError: can only concatenate str (not "bytes") to str



I guess it's a Python 3 thing maybe?

The Python on my PATH is Python 2, but I think maybe LLVM goes for Python 3
these days when it's available (and it is on this system).


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=46725
[Bug 46725] [meta] 11.0.0 Release Blockers
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200727/7f82768c/attachment.html>


More information about the llvm-bugs mailing list