[llvm-bugs] [Bug 41401] New: Reversion r357618 breaks when ${CMAKE_THREAD_LIBS_INIT} is empty. Probably needs quoting

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 5 14:00:10 PDT 2019


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

            Bug ID: 41401
           Summary: Reversion r357618 breaks when
                    ${CMAKE_THREAD_LIBS_INIT} is empty. Probably needs
                    quoting
           Product: OpenMP
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Clang Compiler Support
          Assignee: unassignedclangbugs at nondot.org
          Reporter: daphnediane at mac.com
                CC: llvm-bugs at lists.llvm.org

I get the following error running cmake:

-- sanitizer_common tests on "Darwin" will run against "asan;lsan;tsan;ubsan"
CMake Error at openmp/cmake/OpenMPTesting.cmake:126 (if):
  if given arguments:

    "STREQUAL" "-lpthread"

  Unknown arguments specified
Call Stack (most recent call first):
  openmp/CMakeLists.txt:49 (include)

I believe it is because of missing quotes around ${CMAKE_THREAD_LIBS_INIT}

-- 
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/20190405/eba07129/attachment.html>


More information about the llvm-bugs mailing list