[LLVMbugs] [Bug 23967] New: llvm_map_components_to_libnames(XXX all) includes gtest and gtest_main

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jun 26 11:56:39 PDT 2015


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

            Bug ID: 23967
           Summary: llvm_map_components_to_libnames(XXX all) includes
                    gtest and gtest_main
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: dan at su-root.co.uk
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I have noticed that when using ``llvm_map_components_to_libnames(...)`` that
when the component is specified as ``all`` the ``gtest`` and ``gtest_main``
targets are includes which is wrong. These are not LLVM libraries and worse
when we actually install LLVM somewhere these libraries are not shipped which
can cause link failures in a project that consumes the exported LLVM targets if
they don't have gtest on their system.

I'm working on a fix now.

-- 
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/20150626/052bf72b/attachment.html>


More information about the llvm-bugs mailing list