[llvm-bugs] [Bug 27669] New: LLVM-Config.cmake still refers to jit instead of mcjit

via llvm-bugs llvm-bugs at lists.llvm.org
Fri May 6 12:38:33 PDT 2016


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

            Bug ID: 27669
           Summary: LLVM-Config.cmake still refers to jit instead of mcjit
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: lost404 at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

file llvm/cmake/modules/LLVM-Config.cmake contains following line

     list(APPEND link_components "jit")

But since jit was replaced with mcjit, that line should be replaced with this:

     list(APPEND link_components "mcjit")

Without that fix, following error is experienced when trying to use following
lines in CMakeLists.txt:

find_package(LLVM CONFIG REQUIRED)
llvm_map_components_to_libnames(any_var engine)

CMake Error at /usr/share/llvm-3.8/cmake/LLVM-Config.cmake:203 (message):
  Library `jit' not found in list of llvm libraries.

-- 
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/20160506/cf10d873/attachment.html>


More information about the llvm-bugs mailing list