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: unassignedclangb...@nondot.org
          Reporter: daphnedi...@mac.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to